HIDClassDevice.h File Reference

Go to the source code of this file.

Data Structures

struct  usbhid_config_t
 HID Class Device Mode Configuration and State Structure. More...
 
struct  usbhid_state_t
 
struct  USB_ClassInfo_HID_Device_t
 

Typedefs

typedef struct usbhid_config_t usbhid_config_t
 HID Class Device Mode Configuration and State Structure. More...
 

Variables

struct usbhid_state_t usbhid_state_t
 

Typedef Documentation

◆ usbhid_config_t

HID Class Device Mode Configuration and State Structure.

Class state structure. An instance of this structure should be made for each HID interface within the user application, and passed to each of the HID class driver functions as the HIDInterfaceInfo parameter. This stores each HID interface's configuration and state information.

Note
Due to technical limitations, the HID device class driver does not utilize a separate OUT endpoint for host->device communications. Instead, the host->device data (if any) is sent to the device via the control endpoint. Config data for the USB class interface within the device. All elements in this section must be set or the interface will fail to enumerate and operate correctly.

Variable Documentation

◆ usbhid_state_t

State data for the USB class interface within the device. All elements in this section are reset to their defaults when the interface is enumerated.