Expand description
Control transfer state machine.
ControlPipe manages EP0 state without being generic over the bus type.
It takes &B only for the actual hardware I/O operations (read / write),
keeping the state machine logic bus-agnostic.
ControlIn and ControlOut are short-lived handles passed to
UsbClass callbacks so classes can accept or reject
a control transfer ergonomically.
Structs§
- Control
In - Handle for a pending control IN transfer.
- Control
Out - Handle for a pending control OUT transfer.
- Control
Pipe - EP0 control transfer state machine + staging buffer.
Constants§
- CONTROL_
BUF_ SIZE - Maximum size of the EP0 control transfer staging buffer.