|
Zephyr API Documentation 4.4.0
A Scalable Open Source RTOS
|
USB Setup Data packet. More...
#include <zephyr/usb/usb_ch9.h>
Data Fields | ||
| union { | ||
| uint8_t bmRequestType | ||
| Raw request type value. More... | ||
| struct usb_req_type_field RequestType | ||
| Request type bit fields. More... | ||
| }; | ||
| Request type union providing raw and structured access. | ||
| uint8_t | bRequest | |
| Request code. | ||
| uint16_t | wValue | |
| Request-specific value. | ||
| uint16_t | wIndex | |
| Request-specific index. | ||
| uint16_t | wLength | |
| Expected data length. | ||
USB Setup Data packet.
See Table 9-2 of the specification.
| union { ... } usb_setup_packet |
Request type union providing raw and structured access.
| uint8_t usb_setup_packet::bmRequestType |
Raw request type value.
| uint8_t usb_setup_packet::bRequest |
Request code.
| struct usb_req_type_field usb_setup_packet::RequestType |
Request type bit fields.
| uint16_t usb_setup_packet::wIndex |
Request-specific index.
| uint16_t usb_setup_packet::wLength |
Expected data length.
| uint16_t usb_setup_packet::wValue |
Request-specific value.