dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::usb::endpoint Struct Reference

USB specific errors. More...

#include <dx_usb.h>

Classes

struct  attributes
 an endpoint's bmAttributes: the transfer type, how an isochronous endpoint synchronizes, and whether it carries data or the feedback for another endpoint More...

Public Member Functions

uint8_t idx() const
bool operator ==(const endpoint& endpoint) const

Public Attributes

uint8_t address
 USB endpoint address: the interface carrying it follows from the descriptors, its setting from the configuration using it.
dx::stream::direction::direction direction{(address& 0x80)? dx::stream::direction::in: dx::stream::direction::out}

Detailed Description

USB specific errors.

USB endpoint selector

Member Function Documentation

◆ idx()

uint8_t dx::usb::endpoint::idx() const
inline

◆ operator ==()

bool dx::usb::endpoint::operator ==(const endpoint& endpoint) const
inline

Member Data Documentation

◆ address

uint8_t dx::usb::endpoint::address

USB endpoint address: the interface carrying it follows from the descriptors, its setting from the configuration using it.

◆ direction

dx::stream::direction::direction dx::usb::endpoint::direction{(address& 0x80)? dx::stream::direction::in: dx::stream::direction::out}

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