µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
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
 USB Device active flag.
 
speed_t speed: 2
 USB Device speed setting (ARM_USB_SPEED_xxx).
 
bool vbus: 1
 USB Device VBUS flag.
 

Detailed Description

Definition at line 93 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 473 of file usb-device.h.

474 {
475 return speed;
476 }
speed_t speed
USB Device speed setting (ARM_USB_SPEED_xxx).
Definition usb-device.h:115

◆ is_active()

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

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

480 {
481 return active;
482 }
bool active
USB Device active flag.
Definition usb-device.h:118

◆ is_vbus_on()

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

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

468 {
469 return vbus;
470 }
bool vbus
USB Device VBUS flag.
Definition usb-device.h:112

Member Data Documentation

◆ active

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

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

◆ speed

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

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

◆ vbus

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

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


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