Functions
USBD_CORE_Exported_FunctionsPrototype
Collaboration diagram for USBD_CORE_Exported_FunctionsPrototype:

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...
 

Detailed Description

Function Documentation

USBD_Status USBD_ClrCfg ( USB_OTG_CORE_HANDLE pdev,
uint8_t  cfgidx 
)

USBD_ClrCfg Clear current configuration.

Parameters
pdevdevice instance
cfgidxconfiguration index
Return values
statusUSBD_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.

Parameters
pdevdevice instance
Return values
statusstatus

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.

Parameters
pdevdevice instance
core_addressUSB OTG core ID
class_cbClass callback structure address
usr_cbUser callback structure address
Return values
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.

Parameters
pdevdevice instance
cfgidxconfiguration index
Return values
status

Definition at line 443 of file usbd_core.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:54