APM:Libraries
Macros | Functions
usb_dcd_int.c File Reference

Peripheral Device interrupt subroutines. More...

#include "usb_dcd_int.h"
Include dependency graph for usb_dcd_int.c:

Go to the source code of this file.

Macros

#define USB_OTG_GAHBCFG_GINT_Pos   (0U)
 
#define USB_OTG_GAHBCFG_GINT_Msk   (0x1U << USB_OTG_GAHBCFG_GINT_Pos)
 
#define USB_OTG_GAHBCFG_GINT   USB_OTG_GAHBCFG_GINT_Msk
 

Functions

static uint32_t DCD_ReadDevInEP (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum)
 DCD_ReadDevInEP Reads ep flags. More...
 
static uint32_t DCD_HandleInEP_ISR (USB_OTG_CORE_HANDLE *pdev)
 DCD_HandleInEP_ISR Indicates that an IN EP has a pending Interrupt. More...
 
static uint32_t DCD_HandleOutEP_ISR (USB_OTG_CORE_HANDLE *pdev)
 DCD_HandleOutEP_ISR Indicates that an OUT EP has a pending Interrupt. More...
 
static uint32_t DCD_HandleSof_ISR (USB_OTG_CORE_HANDLE *pdev)
 DCD_HandleSof_ISR Handles the SOF Interrupts. More...
 
static uint32_t DCD_HandleRxStatusQueueLevel_ISR (USB_OTG_CORE_HANDLE *pdev)
 DCD_HandleRxStatusQueueLevel_ISR Handles the Rx Status Queue Level Interrupt. More...
 
static uint32_t DCD_WriteEmptyTxFifo (USB_OTG_CORE_HANDLE *pdev, uint32_t epnum)
 DCD_WriteEmptyTxFifo check FIFO for the next packet to be loaded. More...
 
static uint32_t DCD_HandleUsbReset_ISR (USB_OTG_CORE_HANDLE *pdev)
 DCD_HandleUsbReset_ISR This interrupt occurs when a USB Reset is detected. More...
 
static uint32_t DCD_HandleEnumDone_ISR (USB_OTG_CORE_HANDLE *pdev)
 DCD_HandleEnumDone_ISR Read the device status register and set the device speed. More...
 
static uint32_t DCD_HandleResume_ISR (USB_OTG_CORE_HANDLE *pdev)
 DCD_HandleResume_ISR Indicates that the USB_OTG controller has detected a resume or remote Wake-up sequence. More...
 
static uint32_t DCD_HandleUSBSuspend_ISR (USB_OTG_CORE_HANDLE *pdev)
 USB_OTG_HandleUSBSuspend_ISR Indicates that SUSPEND state has been detected on the USB. More...
 
static uint32_t DCD_IsoINIncomplete_ISR (USB_OTG_CORE_HANDLE *pdev)
 DCD_IsoINIncomplete_ISR handle the ISO IN incomplete interrupt. More...
 
static uint32_t DCD_IsoOUTIncomplete_ISR (USB_OTG_CORE_HANDLE *pdev)
 DCD_IsoOUTIncomplete_ISR handle the ISO OUT incomplete interrupt. More...
 
uint32_t USBD_OTG_ISR_Handler (USB_OTG_CORE_HANDLE *pdev)
 STM32_USBF_OTG_ISR_Handler handles all USB Interrupts. More...
 

Detailed Description

Peripheral Device interrupt subroutines.

Author
MCD Application Team
Version
V2.1.0
Date
19-March-2012
Attention

© COPYRIGHT 2012 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file usb_dcd_int.c.

Macro Definition Documentation

◆ USB_OTG_GAHBCFG_GINT

#define USB_OTG_GAHBCFG_GINT   USB_OTG_GAHBCFG_GINT_Msk

◆ USB_OTG_GAHBCFG_GINT_Msk

#define USB_OTG_GAHBCFG_GINT_Msk   (0x1U << USB_OTG_GAHBCFG_GINT_Pos)

◆ USB_OTG_GAHBCFG_GINT_Pos

#define USB_OTG_GAHBCFG_GINT_Pos   (0U)