#include <hiduniversal.h>
|
| HIDUniversal (USBHost *p) |
|
virtual uint32_t | SetReportParser (uint32_t id, HIDReportParser *prs) |
|
virtual uint8_t | Init (uint8_t parent, uint8_t port, bool lowspeed) |
|
virtual uint32_t | Release () |
|
virtual uint32_t | Poll () |
|
virtual uint32_t | GetAddress () |
|
virtual uint32_t | isReady () |
|
virtual void | EndpointXtract (uint32_t conf, uint32_t iface, uint32_t alt, uint32_t proto, const USB_ENDPOINT_DESCRIPTOR *ep) |
|
| HID (USBHost *pusb) |
|
const USBHost * | GetUsb () |
|
uint32_t | SetProtocol (uint32_t iface, uint32_t protocol) |
|
uint32_t | GetProtocol (uint32_t iface, uint8_t *dataptr) |
|
uint32_t | GetIdle (uint32_t iface, uint32_t reportID, uint8_t *dataptr) |
|
uint32_t | SetIdle (uint32_t iface, uint32_t reportID, uint32_t duration) |
|
uint32_t | GetReportDescr (uint32_t ep, USBReadParser *parser=NULL) |
|
uint32_t | GetHidDescr (uint32_t ep, uint32_t nbytes, uint8_t *dataptr) |
|
uint32_t | GetReport (uint32_t ep, uint32_t iface, uint32_t report_type, uint32_t report_id, uint32_t nbytes, uint8_t *dataptr) |
|
uint32_t | SetReport (uint32_t ep, uint32_t iface, uint32_t report_type, uint32_t report_id, uint32_t nbytes, uint8_t *dataptr) |
|
◆ HIDUniversal()
HIDUniversal::HIDUniversal |
( |
USBHost * |
p | ) |
|
◆ EndpointXtract()
void HIDUniversal::EndpointXtract |
( |
uint32_t |
conf, |
|
|
uint32_t |
iface, |
|
|
uint32_t |
alt, |
|
|
uint32_t |
proto, |
|
|
const USB_ENDPOINT_DESCRIPTOR * |
ep |
|
) |
| |
|
virtual |
◆ GetAddress()
virtual uint32_t HIDUniversal::GetAddress |
( |
| ) |
|
|
inlinevirtual |
◆ Init()
uint8_t HIDUniversal::Init |
( |
uint8_t |
parent, |
|
|
uint8_t |
port, |
|
|
bool |
lowspeed |
|
) |
| |
|
virtual |
◆ isReady()
virtual uint32_t HIDUniversal::isReady |
( |
| ) |
|
|
inlinevirtual |
◆ Poll()
uint32_t HIDUniversal::Poll |
( |
| ) |
|
|
virtual |
◆ Release()
uint32_t HIDUniversal::Release |
( |
| ) |
|
|
virtual |
◆ SetReportParser()
uint32_t HIDUniversal::SetReportParser |
( |
uint32_t |
id, |
|
|
HIDReportParser * |
prs |
|
) |
| |
|
virtual |
Réimplémentée à partir de HID.