Zephyr API Documentation 4.2.0-rc3
A Scalable Open Source RTOS
 4.2.0-rc3
udc_ep_stat Struct Reference

USB device controller endpoint status. More...

#include <zephyr/drivers/usb/udc.h>

Data Fields

uint32_t enabled: 1
 Endpoint is enabled.
uint32_t halted: 1
 Endpoint is halted (returning STALL PID)
uint32_t data1: 1
 Last submitted PID is DATA1.
uint32_t odd: 1
 If double buffering is supported, last used buffer is odd.
uint32_t busy: 1
 Endpoint is busy.

Detailed Description

USB device controller endpoint status.

Field Documentation

◆ busy

uint32_t udc_ep_stat::busy

Endpoint is busy.

◆ data1

uint32_t udc_ep_stat::data1

Last submitted PID is DATA1.

◆ enabled

uint32_t udc_ep_stat::enabled

Endpoint is enabled.

◆ halted

uint32_t udc_ep_stat::halted

Endpoint is halted (returning STALL PID)

◆ odd

uint32_t udc_ep_stat::odd

If double buffering is supported, last used buffer is odd.


The documentation for this struct was generated from the following file:
  • zephyr/drivers/usb/udc.h