µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
usb.h File Reference
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  os
 System namespace.
 
namespace  os::driver
 
namespace  os::driver::usb
 

Typedefs

using os::driver::usb::device_address_t = uint8_t
 
using os::driver::usb::endpoint_t = uint8_t
 
using os::driver::usb::endpoint_type_t = uint8_t
 
using os::driver::usb::frame_number_t = uint16_t
 
using os::driver::usb::hub_addr_t = uint8_t
 
using os::driver::usb::hub_port_t = uint8_t
 
using os::driver::usb::packet_size_t = uint16_t
 
using os::driver::usb::pipe_t = uint32_t
 
using os::driver::usb::polling_interval_t = uint8_t
 
using os::driver::usb::port_t = uint8_t
 
using os::driver::usb::speed_t = uint8_t
 

Enumerations

enum class  os::driver::usb::Endpoint_type : endpoint_type_t {
  os::driver::usb::control = 0 ,
  os::driver::usb::isochronous = 1 ,
  os::driver::usb::bulk = 2 ,
  os::driver::usb::interrupt = 3
}
 Endpoint type. More...
 
enum class  os::driver::usb::Speed : speed_t {
  os::driver::usb::low = 0 ,
  os::driver::usb::full = 1 ,
  os::driver::usb::high = 2
}
 USB Speed. More...
 

Variables

constexpr endpoint_t os::driver::usb::ENDPOINT_DIRECTION_MASK = 0x80
 
constexpr packet_size_t os::driver::usb::ENDPOINT_MAX_PACKET_SIZE_MASK = 0x07FF
 
constexpr endpoint_t os::driver::usb::ENDPOINT_NUMBER_MASK = 0x0F