Functions | |
USBD_Status | USBD_ClrCfg (USB_OTG_CORE_HANDLE *pdev, uint8_t cfgidx) |
USBD_ClrCfg Clear current configuration. More... | |
static uint8_t | USBD_DataInStage (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum) |
USBD_DataInStage Handle data in stage. More... | |
static uint8_t | USBD_DataOutStage (USB_OTG_CORE_HANDLE *pdev, uint8_t epnum) |
USBD_DataOutStage Handle data out stage. More... | |
USBD_Status | USBD_DeInit (USB_OTG_CORE_HANDLE *pdev) |
USBD_DeInit Re-Initialize the device library. More... | |
void | USBD_Init (USB_OTG_CORE_HANDLE *pdev, USB_OTG_CORE_ID_TypeDef coreID, USBD_DEVICE *pDevice, USBD_Class_cb_TypeDef *class_cb, USBD_Usr_cb_TypeDef *usr_cb) |
USBD_Init Initializes the device stack and load the class driver. More... | |
static uint8_t | USBD_IsoINIncomplete (USB_OTG_CORE_HANDLE *pdev) |
USBD_IsoINIncomplete Handle iso in incomplete event. More... | |
static uint8_t | USBD_IsoOUTIncomplete (USB_OTG_CORE_HANDLE *pdev) |
USBD_IsoOUTIncomplete Handle iso out incomplete event. More... | |
static uint8_t | USBD_Reset (USB_OTG_CORE_HANDLE *pdev) |
USBD_Reset Handle Reset event. More... | |
static uint8_t | USBD_Resume (USB_OTG_CORE_HANDLE *pdev) |
USBD_Resume Handle Resume event. More... | |
static uint8_t | USBD_RunTestMode (USB_OTG_CORE_HANDLE *pdev) |
USBD_RunTestMode Launch test mode process. More... | |
USBD_Status | USBD_SetCfg (USB_OTG_CORE_HANDLE *pdev, uint8_t cfgidx) |
USBD_SetCfg Configure device and start the interface. More... | |
static uint8_t | USBD_SetupStage (USB_OTG_CORE_HANDLE *pdev) |
USBD_SetupStage Handle the setup stage. More... | |
static uint8_t | USBD_SOF (USB_OTG_CORE_HANDLE *pdev) |
USBD_SOF Handle SOF event. More... | |
static uint8_t | USBD_Suspend (USB_OTG_CORE_HANDLE *pdev) |
USBD_Suspend Handle Suspend event. More... | |
USBD_Status USBD_ClrCfg | ( | USB_OTG_CORE_HANDLE * | pdev, |
uint8_t | cfgidx | ||
) |
USBD_ClrCfg Clear current configuration.
pdev | device instance |
cfgidx | configuration index |
status | USBD_Status |
Definition at line 459 of file usbd_core.c.
|
static |
USBD_DataInStage Handle data in stage.
pdev | device instance |
epnum | endpoint index |
status |
Definition at line 270 of file usbd_core.c.
|
static |
USBD_DataOutStage Handle data out stage.
pdev | device instance |
epnum | endpoint index |
status |
Definition at line 217 of file usbd_core.c.
USBD_Status USBD_DeInit | ( | USB_OTG_CORE_HANDLE * | pdev | ) |
USBD_DeInit Re-Initialize the device library.
pdev | device instance |
status | status |
Definition at line 169 of file usbd_core.c.
void USBD_Init | ( | USB_OTG_CORE_HANDLE * | pdev, |
USB_OTG_CORE_ID_TypeDef | coreID, | ||
USBD_DEVICE * | pDevice, | ||
USBD_Class_cb_TypeDef * | class_cb, | ||
USBD_Usr_cb_TypeDef * | usr_cb | ||
) |
USBD_Init Initializes the device stack and load the class driver.
pdev | device instance |
core_address | USB OTG core ID |
class_cb | Class callback structure address |
usr_cb | User callback structure address |
None |
Definition at line 137 of file usbd_core.c.
|
static |
USBD_IsoINIncomplete Handle iso in incomplete event.
pdev | device instance |
status |
Definition at line 471 of file usbd_core.c.
|
static |
USBD_IsoOUTIncomplete Handle iso out incomplete event.
pdev | device instance |
status |
Definition at line 483 of file usbd_core.c.
|
static |
USBD_Reset Handle Reset event.
pdev | device instance |
status |
Definition at line 365 of file usbd_core.c.
|
static |
USBD_Resume Handle Resume event.
pdev | device instance |
status |
Definition at line 393 of file usbd_core.c.
|
static |
USBD_RunTestMode Launch test mode process.
pdev | device instance |
status |
Definition at line 352 of file usbd_core.c.
USBD_Status USBD_SetCfg | ( | USB_OTG_CORE_HANDLE * | pdev, |
uint8_t | cfgidx | ||
) |
USBD_SetCfg Configure device and start the interface.
pdev | device instance |
cfgidx | configuration index |
status |
Definition at line 443 of file usbd_core.c.
|
static |
USBD_SetupStage Handle the setup stage.
pdev | device instance |
status |
Definition at line 183 of file usbd_core.c.
|
static |
USBD_SOF Handle SOF event.
pdev | device instance |
status |
Definition at line 427 of file usbd_core.c.
|
static |
USBD_Suspend Handle Suspend event.
pdev | device instance |
status |
Definition at line 410 of file usbd_core.c.