Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
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 post_status
 Post status stage work required, e.g.
 
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.

◆ post_status

bool usbd_ch9_data::post_status

Post status stage work required, e.g.

set 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: