Zephyr API Documentation  3.5.0
A Scalable Open Source RTOS
3.5.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
usbd_ch9_data Struct Reference

USB device support middle layer runtime data. More...

#include <usbd.h>

Data Fields

struct usb_setup_packet setup
 Setup packet, up-to-date for the respective control request.
 
int ctrl_type
 Control type, internally used for stage verification.
 
enum usbd_ch9_state state
 Protocol state of the USB device stack.
 
uint32_t ep_halt
 Halted endpoints bitmap.
 
uint8_t configuration
 USB device stack selected configuration.
 
bool new_address
 Indicate new device address.
 
uint8_t alternate [16U]
 Array to track interfaces alternate settings.
 

Detailed Description

USB device support middle layer runtime data.

Field Documentation

◆ alternate

uint8_t usbd_ch9_data::alternate[16U]

Array to track interfaces alternate settings.

◆ configuration

uint8_t usbd_ch9_data::configuration

USB device stack selected configuration.

◆ ctrl_type

int usbd_ch9_data::ctrl_type

Control type, internally used for stage verification.

◆ ep_halt

uint32_t usbd_ch9_data::ep_halt

Halted endpoints bitmap.

◆ new_address

bool usbd_ch9_data::new_address

Indicate new device address.

◆ setup

struct usb_setup_packet usbd_ch9_data::setup

Setup packet, up-to-date for the respective control request.

◆ state

enum usbd_ch9_state usbd_ch9_data::state

Protocol state of the USB device stack.


The documentation for this struct was generated from the following file: