Functions
USBD_CORE_Private_Functions
Collaboration diagram for USBD_CORE_Private_Functions:

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

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.

static uint8_t USBD_DataInStage ( USB_OTG_CORE_HANDLE pdev,
uint8_t  epnum 
)
static

USBD_DataInStage Handle data in stage.

Parameters
pdevdevice instance
epnumendpoint index
Return values
status

Definition at line 270 of file usbd_core.c.

static uint8_t USBD_DataOutStage ( USB_OTG_CORE_HANDLE pdev,
uint8_t  epnum 
)
static

USBD_DataOutStage Handle data out stage.

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

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.

static uint8_t USBD_IsoINIncomplete ( USB_OTG_CORE_HANDLE pdev)
static

USBD_IsoINIncomplete Handle iso in incomplete event.

Parameters
pdevdevice instance
Return values
status

Definition at line 471 of file usbd_core.c.

static uint8_t USBD_IsoOUTIncomplete ( USB_OTG_CORE_HANDLE pdev)
static

USBD_IsoOUTIncomplete Handle iso out incomplete event.

Parameters
pdevdevice instance
Return values
status

Definition at line 483 of file usbd_core.c.

static uint8_t USBD_Reset ( USB_OTG_CORE_HANDLE pdev)
static

USBD_Reset Handle Reset event.

Parameters
pdevdevice instance
Return values
status

Definition at line 365 of file usbd_core.c.

static uint8_t USBD_Resume ( USB_OTG_CORE_HANDLE pdev)
static

USBD_Resume Handle Resume event.

Parameters
pdevdevice instance
Return values
status

Definition at line 393 of file usbd_core.c.

static uint8_t USBD_RunTestMode ( USB_OTG_CORE_HANDLE pdev)
static

USBD_RunTestMode Launch test mode process.

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

Parameters
pdevdevice instance
cfgidxconfiguration index
Return values
status

Definition at line 443 of file usbd_core.c.

static uint8_t USBD_SetupStage ( USB_OTG_CORE_HANDLE pdev)
static

USBD_SetupStage Handle the setup stage.

Parameters
pdevdevice instance
Return values
status

Definition at line 183 of file usbd_core.c.

static uint8_t USBD_SOF ( USB_OTG_CORE_HANDLE pdev)
static

USBD_SOF Handle SOF event.

Parameters
pdevdevice instance
Return values
status

Definition at line 427 of file usbd_core.c.

static uint8_t USBD_Suspend ( USB_OTG_CORE_HANDLE pdev)
static

USBD_Suspend Handle Suspend event.

Parameters
pdevdevice instance
Return values
status

Definition at line 410 of file usbd_core.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:28