|
void | USBH_HidInit (void) |
| Init USB Host HID driver. More...
|
|
HID_DEV_T * | USBH_HidGetDeviceList (void) |
| Get a list of currently connected USB Hid devices. More...
|
|
int32_t | HID_HidGetReportDescriptor (HID_DEV_T *hdev, uint8_t *desc_buf, int buf_max_len) |
| Get report descriptor request. More...
|
|
int32_t | HID_HidGetReport (HID_DEV_T *hdev, int rtp_typ, int rtp_id, uint8_t *data, int len) |
| HID class standard request Get_Report request. The Get_Report request allows the host to receive a report via the Control pipe. More...
|
|
int32_t | HID_HidSetReport (HID_DEV_T *hdev, int rtp_typ, int rtp_id, uint8_t *data, int len) |
| HID class standard request Set_Report request. The Set_Report request allows the host to send a report to the device, possibly setting the state of input, output, or feature controls. More...
|
|
int32_t | HID_HidGetIdle (HID_DEV_T *hdev, int rtp_id, uint8_t *idle_rate) |
| HID class standard request Get_Idle request. The Get_Idle request reads the current idle rate for a particular Input report. More...
|
|
int32_t | HID_HidSetIdle (HID_DEV_T *hdev, int rtp_id, uint8_t idle_rate) |
| HID class standard request Set_Idle request. The Set_Idle request silences a particular report on the Interrupt In pipe until a new event occurs or the specified amount of time passes. More...
|
|
int32_t | HID_HidGetProtocol (HID_DEV_T *hdev, uint8_t *protocol) |
| HID class standard request Get_Protocol request. The Get_Protocol request reads which protocol is currently active (either the boot protocol or the report protocol.) More...
|
|
int32_t | HID_HidSetProtocol (HID_DEV_T *hdev, uint8_t protocol) |
| HID class standard request Set_Protocol request. The Set_Protocol switches between the boot protocol and the report protocol (or vice versa). More...
|
|
int32_t | USBH_HidStartIntReadPipe (HID_DEV_T *hdev, HID_IR_FUNC *func) |
| Start purge the USB interrupt in transfer. More...
|
|
int32_t | USBH_HidStartIntWritePipe (HID_DEV_T *hdev, HID_IW_FUNC *func) |
| Start purge the USB interrupt out transfer. More...
|
|