33 uint16_t read = (uint16_t)
epInfo[index].maxPktSize;
41 USBTRACE3(
"(hiduniversal.h) Poll:", rcode, 0x81);
56 for(uint8_t i = 0; i < read; i++) {
57 D_PrintHex<uint8_t > (buf[i], 0x80);
HIDReportParser * GetReportParser(uint8_t id)
static const uint16_t constBuffLen
HIDInterface hidInterfaces[maxHidInterfaces]
EpInfo epInfo[totalEndpoints]
void ZeroMemory(uint8_t len, uint8_t *buf)
virtual void Parse(USBHID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)=0
static const uint8_t epInterruptInIndex
uint8_t inTransfer(uint8_t addr, uint8_t ep, uint16_t *nbytesptr, uint8_t *data, uint8_t bInterval=0)
#define USBTRACE3(s, r, l)
uint8_t epIndex[maxEpPerInterface+1]