#include <hid.h>
|
| HID (USB *pusb) |
|
const USB * | GetUsb () |
|
virtual bool | SetReportParser (uint8_t id, HIDReportParser *prs) |
|
uint8_t | SetProtocol (uint8_t iface, uint8_t protocol) |
|
uint8_t | GetProtocol (uint8_t iface, uint8_t *dataptr) |
|
uint8_t | GetIdle (uint8_t iface, uint8_t reportID, uint8_t *dataptr) |
|
uint8_t | SetIdle (uint8_t iface, uint8_t reportID, uint8_t duration) |
|
uint8_t | GetReportDescr (uint8_t ep, USBReadParser *parser=NULL) |
|
uint8_t | GetHidDescr (uint8_t ep, uint16_t nbytes, uint8_t *dataptr) |
|
uint8_t | GetReport (uint8_t ep, uint8_t iface, uint8_t report_type, uint8_t report_id, uint16_t nbytes, uint8_t *dataptr) |
|
uint8_t | SetReport (uint8_t ep, uint8_t iface, uint8_t report_type, uint8_t report_id, uint16_t nbytes, uint8_t *dataptr) |
|
virtual uint8_t | Init (uint8_t parent, uint8_t port, bool lowspeed)=0 |
|
virtual uint8_t | Release ()=0 |
|
virtual uint8_t | Poll ()=0 |
|
virtual uint8_t | GetAddress ()=0 |
|
virtual void | EndpointXtract (uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep)=0 |
|
Definition at line 161 of file hid.h.
const USB* HID::GetUsb |
( |
| ) |
|
|
inline |
uint8_t HID::SetProtocol |
( |
uint8_t |
iface, |
|
|
uint8_t |
protocol |
|
) |
| |
uint8_t HID::GetProtocol |
( |
uint8_t |
iface, |
|
|
uint8_t * |
dataptr |
|
) |
| |
uint8_t HID::GetIdle |
( |
uint8_t |
iface, |
|
|
uint8_t |
reportID, |
|
|
uint8_t * |
dataptr |
|
) |
| |
uint8_t HID::SetIdle |
( |
uint8_t |
iface, |
|
|
uint8_t |
reportID, |
|
|
uint8_t |
duration |
|
) |
| |
uint8_t HID::GetReportDescr |
( |
uint8_t |
ep, |
|
|
USBReadParser * |
parser = NULL |
|
) |
| |
uint8_t HID::GetHidDescr |
( |
uint8_t |
ep, |
|
|
uint16_t |
nbytes, |
|
|
uint8_t * |
dataptr |
|
) |
| |
uint8_t HID::GetReport |
( |
uint8_t |
ep, |
|
|
uint8_t |
iface, |
|
|
uint8_t |
report_type, |
|
|
uint8_t |
report_id, |
|
|
uint16_t |
nbytes, |
|
|
uint8_t * |
dataptr |
|
) |
| |
uint8_t HID::SetReport |
( |
uint8_t |
ep, |
|
|
uint8_t |
iface, |
|
|
uint8_t |
report_type, |
|
|
uint8_t |
report_id, |
|
|
uint16_t |
nbytes, |
|
|
uint8_t * |
dataptr |
|
) |
| |
const uint8_t HID::epInterruptInIndex = 1 |
|
staticprotected |
const uint8_t HID::epInterruptOutIndex = 2 |
|
staticprotected |
const uint8_t HID::maxHidInterfaces = 3 |
|
staticprotected |
const uint8_t HID::maxEpPerInterface = 2 |
|
staticprotected |
The documentation for this class was generated from the following files: