Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
Internal USB HID definitions. More...
Go to the source code of this file.
Classes | |
struct | UsbHIDDescriptor |
HID descriptor. More... | |
struct | HidConfigurationDescriptor |
Configuration descriptor for HID device. More... | |
Macros | |
#define | HID_IN_EP_NO (4) |
Endpoint number for IN events. More... | |
#define | HID_OUT_EP_NO (5) |
Endpoint number forOUT events. More... | |
#define | HID_CTRL_MAX_SIZE (64) |
Maximum size for messages exchanged over the CONTROL endpoints. More... | |
#define | HID_FRAGMENT_SIZE (64) |
Size of fragments exchanged over the user data endpoints (HID_IN_EP_NO and HID_OUT_EP_NO) More... | |
#define | HID_RPT_SIZE (29) |
#define | HID_GET_REPORT 0x01 |
#define | HID_GET_IDLE 0x02 |
#define | HID_GET_PROTOCOL 0x03 |
#define | HID_SET_REPORT 0x09 |
#define | HID_SET_IDLE 0x0A |
#define | HID_SET_PROTOCOL 0x0B |
Typedefs | |
typedef struct UsbHIDDescriptor | UsbHIDDescriptor_t |
HID descriptor. More... | |
typedef struct HidConfigurationDescriptor | HidConfigurationDescriptor_t |
Configuration descriptor for HID device. More... | |
Variables | |
u8_t | USB_StringDescs [] |
Internal USB HID definitions.
#define HID_CTRL_MAX_SIZE (64) |
Maximum size for messages exchanged over the CONTROL endpoints.
#define HID_FRAGMENT_SIZE (64) |
Size of fragments exchanged over the user data endpoints (HID_IN_EP_NO and HID_OUT_EP_NO)
#define HID_GET_IDLE 0x02 |
#define HID_GET_PROTOCOL 0x03 |
#define HID_GET_REPORT 0x01 |
#define HID_IN_EP_NO (4) |
Endpoint number for IN events.
IN is relative to the host in this case, which means this is actually out of this system.
#define HID_OUT_EP_NO (5) |
Endpoint number forOUT events.
OUT is relative to the host in this case, which means this is actually in to this system.
#define HID_RPT_SIZE (29) |
#define HID_SET_IDLE 0x0A |
#define HID_SET_PROTOCOL 0x0B |
#define HID_SET_REPORT 0x09 |
typedef struct HidConfigurationDescriptor HidConfigurationDescriptor_t |
Configuration descriptor for HID device.
typedef struct UsbHIDDescriptor UsbHIDDescriptor_t |
HID descriptor.
|
extern |