1 #if !defined(__HIDUNIVERSAL_H__)
2 #define __HIDUNIVERSAL_H__
19 uint16_t GetHidClassDescrLen(uint8_t type, uint8_t num);
27 uint8_t bmInterface : 3;
29 uint8_t bmProtocol : 2;
39 uint32_t qNextPollTime;
42 static const uint16_t constBuffLen = 64;
43 uint8_t prevBuf[constBuffLen];
46 HIDInterface* FindInterface(uint8_t iface, uint8_t alt, uint8_t proto);
48 void ZeroMemory(uint8_t len, uint8_t *buf);
49 bool BuffersIdentical(uint8_t len, uint8_t *buf1, uint8_t *buf2);
50 void SaveBuffer(uint8_t len, uint8_t *src, uint8_t *dest);
66 virtual uint8_t
Init(uint8_t parent, uint8_t port,
bool lowspeed);
68 virtual uint8_t
Poll();
75 #endif // __HIDUNIVERSAL_H__