usbhid_state_t Struct Reference

Data Fields

bool UsingReportProtocol
 
u16 PrevFrameNum
 
u16 IdleCount
 
u16 IdleMSRemaining
 

Field Documentation

◆ UsingReportProtocol

bool usbhid_state_t::UsingReportProtocol

Indicates if the HID interface is set to Boot or Report proto mode.

◆ PrevFrameNum

u16 usbhid_state_t::PrevFrameNum

Frame number of the previous HID report packet opportunity.

◆ IdleCount

u16 usbhid_state_t::IdleCount

Report idle period, in milliseconds, set by the host.

◆ IdleMSRemaining

u16 usbhid_state_t::IdleMSRemaining

Total number of milliseconds remaining before the idle period elapsed - this should be decremented by the user application if non-zero each millisecond.