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

#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]
 

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, internaly 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: