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... | |
uint8_t USBD_HID_DataIn | ( | void * | pdev, |
uint8_t | epnum | ||
) |
USBD_HID_DataIn handle data IN Stage.
pdev | device instance |
epnum | endpoint index |
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.
pdev | device instance |
cfgidx | Configuration index |
status |
Definition at line 299 of file usbd_hid_core.c.
|
static |
USBD_HID_GetCfgDesc return configuration descriptor.
speed | : current device speed |
length | : pointer data length |
pointer | to 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.
pdev | device instance |
polling | interval |
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.
pdev | device instance |
cfgidx | Configuration index |
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.
pdev | device instance |
buff | pointer to report |
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.
pdev | instance |
req | usb requests |
status |
Definition at line 315 of file usbd_hid_core.c.