Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usb_ep_cfg_data Struct Reference

USB Endpoint Configuration. More...

#include <usb_device.h>

Data Fields

usb_ep_callback ep_cb
 Callback function for notification of data received and available to application or transmit done, NULL if callback not required by application code.
 
uint8_t ep_addr
 The number associated with the EP in the device configuration structure IN EP = 0x80 | <endpoint number> OUT EP = 0x00 | <endpoint number>
 

Detailed Description

USB Endpoint Configuration.

This structure contains configuration for the endpoint.

Field Documentation

◆ ep_addr

uint8_t usb_ep_cfg_data::ep_addr

The number associated with the EP in the device configuration structure IN EP = 0x80 | <endpoint number> OUT EP = 0x00 | <endpoint number>

◆ ep_cb

usb_ep_callback usb_ep_cfg_data::ep_cb

Callback function for notification of data received and available to application or transmit done, NULL if callback not required by application code.


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