Functions
USBD_HID_Private_Functions
Collaboration diagram for USBD_HID_Private_Functions:

Functions

uint8_t USBD_HID_DataIn (void *pdev, uint8_t epnum)
 USBD_HID_DataIn handle data IN Stage. More...
 
uint8_t USBD_HID_DeInit (void *pdev, uint8_t cfgidx)
 USBD_HID_Init DeInitialize the HID layer. More...
 
static uint8_t * USBD_HID_GetCfgDesc (uint8_t speed, uint16_t *length)
 USBD_HID_GetCfgDesc return configuration descriptor. More...
 
uint32_t USBD_HID_GetPollingInterval (USB_OTG_CORE_HANDLE *pdev)
 USBD_HID_GetPollingInterval return polling interval from endpoint descriptor. More...
 
uint8_t USBD_HID_Init (void *pdev, uint8_t cfgidx)
 USBD_HID_Init Initialize the HID interface. More...
 
uint8_t USBD_HID_SendReport (USB_OTG_CORE_HANDLE *pdev, uint8_t *report, uint16_t len)
 USBD_HID_SendReport Send HID Report. More...
 
uint8_t USBD_HID_Setup (void *pdev, USB_SETUP_REQ *req)
 USBD_HID_Setup Handle the HID specific requests. More...
 

Detailed Description

Function Documentation

uint8_t USBD_HID_DataIn ( void *  pdev,
uint8_t  epnum 
)

USBD_HID_DataIn handle data IN Stage.

Parameters
pdevdevice instance
epnumendpoint index
Return values
status

Definition at line 446 of file usbd_hid_core.c.

uint8_t USBD_HID_DeInit ( void *  pdev,
uint8_t  cfgidx 
)

USBD_HID_Init DeInitialize the HID layer.

Parameters
pdevdevice instance
cfgidxConfiguration index
Return values
status

Definition at line 299 of file usbd_hid_core.c.

static uint8_t * USBD_HID_GetCfgDesc ( uint8_t  speed,
uint16_t *  length 
)
static

USBD_HID_GetCfgDesc return configuration descriptor.

Parameters
speed: current device speed
length: pointer data length
Return values
pointerto descriptor buffer

Definition at line 432 of file usbd_hid_core.c.

uint32_t USBD_HID_GetPollingInterval ( USB_OTG_CORE_HANDLE pdev)

USBD_HID_GetPollingInterval return polling interval from endpoint descriptor.

Parameters
pdevdevice instance
Return values
pollinginterval

Definition at line 463 of file usbd_hid_core.c.

uint8_t USBD_HID_Init ( void *  pdev,
uint8_t  cfgidx 
)

USBD_HID_Init Initialize the HID interface.

Parameters
pdevdevice instance
cfgidxConfiguration index
Return values
status

Definition at line 278 of file usbd_hid_core.c.

uint8_t USBD_HID_SendReport ( USB_OTG_CORE_HANDLE pdev,
uint8_t *  report,
uint16_t  len 
)

USBD_HID_SendReport Send HID Report.

Parameters
pdevdevice instance
buffpointer to report
Return values
status

Definition at line 414 of file usbd_hid_core.c.

uint8_t USBD_HID_Setup ( void *  pdev,
USB_SETUP_REQ req 
)

USBD_HID_Setup Handle the HID specific requests.

Parameters
pdevinstance
requsb requests
Return values
status

Definition at line 315 of file usbd_hid_core.c.



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