Backend-agnostic mirror of the standard 8-byte USB SETUP packet (TinyUSB's tusb_control_request_t). Identical wire layout on any USB stack. The bmRequestType bitfields (USB 2.0 spec Table 9-2) are exposed as accessor methods instead of a bitfield union, so call sites read almost the same as before: p_request->bmRequestType_bit.type -> p_request.type().
More...
#include <USBAudioBackend.h>
Backend-agnostic mirror of the standard 8-byte USB SETUP packet (TinyUSB's tusb_control_request_t). Identical wire layout on any USB stack. The bmRequestType bitfields (USB 2.0 spec Table 9-2) are exposed as accessor methods instead of a bitfield union, so call sites read almost the same as before: p_request->bmRequestType_bit.type -> p_request.type().
◆ Recipient
| Enumerator |
|---|
| Device | |
| Interface | |
| Endpoint | |
| Other | |
◆ Type
| enum class Type : uint8_t |
|
strong |
| Enumerator |
|---|
| Standard | |
| Class | |
| Vendor | |
◆ direction()
◆ recipient()
◆ type()
◆ bmRequestType
| uint8_t bmRequestType = 0 |
◆ bRequest
◆ wIndex
◆ wLength
◆ wValue
The documentation for this struct was generated from the following file: