µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
os::driver::usb::device::Status Class Reference

USB device state. More...

#include <usb-device.h>

Public Member Functions

speed_t get_speed (void) const noexcept
 
bool is_active (void) const noexcept
 
bool is_vbus_on (void) const noexcept
 

Public Attributes

bool active:1
 
speed_t speed:2
 USB Device active flag. More...
 
bool vbus:1
 < USB Device VBUS flag More...
 

Detailed Description

USB device state.

Definition at line 92 of file usb-device.h.

Member Function Documentation

◆ get_speed()

speed_t os::driver::usb::device::Status::get_speed ( void  ) const
inlinenoexcept

Definition at line 457 of file usb-device.h.

◆ is_active()

bool os::driver::usb::device::Status::is_active ( void  ) const
inlinenoexcept

Definition at line 463 of file usb-device.h.

◆ is_vbus_on()

bool os::driver::usb::device::Status::is_vbus_on ( void  ) const
inlinenoexcept

Definition at line 451 of file usb-device.h.

Member Data Documentation

◆ active

bool os::driver::usb::device::Status::active

Definition at line 119 of file usb-device.h.

◆ speed

speed_t os::driver::usb::device::Status::speed

USB Device active flag.

Definition at line 116 of file usb-device.h.

◆ vbus

bool os::driver::usb::device::Status::vbus

< USB Device VBUS flag

USB Device speed setting (ARM_USB_SPEED_xxx)

Definition at line 113 of file usb-device.h.


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