Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
udc_device_caps Struct Reference

USB device controller capabilities. More...

#include <udc.h>

Data Fields

uint32_t hs: 1
 USB high speed capable controller.
 
uint32_t rwup: 1
 Controller supports USB remote wakeup.
 
uint32_t out_ack: 1
 Controller performs status OUT stage automatically.
 
uint32_t addr_before_status: 1
 Controller expects device address to be set before status stage.
 
uint32_t can_detect_vbus: 1
 Controller can detect the state change of USB supply VBUS.
 
enum udc_mps0 mps0: 2
 Maximum packet size for control endpoint.
 

Detailed Description

USB device controller capabilities.

This structure is mainly intended for the USB device stack.

Field Documentation

◆ addr_before_status

uint32_t udc_device_caps::addr_before_status

Controller expects device address to be set before status stage.

◆ can_detect_vbus

uint32_t udc_device_caps::can_detect_vbus

Controller can detect the state change of USB supply VBUS.

◆ hs

uint32_t udc_device_caps::hs

USB high speed capable controller.

◆ mps0

enum udc_mps0 udc_device_caps::mps0

Maximum packet size for control endpoint.

◆ out_ack

uint32_t udc_device_caps::out_ack

Controller performs status OUT stage automatically.

◆ rwup

uint32_t udc_device_caps::rwup

Controller supports USB remote wakeup.


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