Functions | |
USBD_Status | USBD_ClrCfg (USB_OTG_CORE_HANDLE *pdev, uint8_t cfgidx) |
USBD_ClrCfg Clear current configuration. 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... | |
USBD_Status | USBD_SetCfg (USB_OTG_CORE_HANDLE *pdev, uint8_t cfgidx) |
USBD_SetCfg Configure device and start the interface. 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.
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.
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.