| 
    Zephyr Project API
    3.3.0
    
   A Scalable Open Source RTOS 
   | 
 
#include <usbd.h>
Data Fields | |
| struct usb_setup_packet | setup | 
| int | ctrl_type | 
| enum usbd_ch9_state | state | 
| uint32_t | ep_halt | 
| uint8_t | configuration | 
| bool | new_address | 
| uint8_t | alternate [16U] | 
USB device support middle layer runtime data
| uint8_t usbd_ch9_data::alternate[16U] | 
Array to track interfaces alternate settings
| uint8_t usbd_ch9_data::configuration | 
USB device stack selected configuration
| int usbd_ch9_data::ctrl_type | 
Control type, internaly used for stage verification
| uint32_t usbd_ch9_data::ep_halt | 
Halted endpoints bitmap
| bool usbd_ch9_data::new_address | 
Indicate new device address
| struct usb_setup_packet usbd_ch9_data::setup | 
Setup packet, up-to-date for the respective control request
| enum usbd_ch9_state usbd_ch9_data::state | 
Protocol state of the USB device stack