Skip to main content

Module frame

Module frame 

Source
Expand description

Byte-level encoding and decoding of HID frames.

Frame is opcode-agnostic: it holds a u8 opcode and a payload slice. Higher-level interpretation of the payload is the caller’s job (firmware-side or host-side).

Structs§

Frame
One parsed HID frame.

Enums§

FrameBuildError
Errors returned when building a HID report.
FrameParseError
Errors returned when parsing a HID report.