µ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::host::Status Class Reference

USB host state. More...

#include <usb-host.h>

Public Member Functions

speed_t get_speed (void) const noexcept
 
bool is_connected (void) const noexcept
 
bool is_overcurrent (void) const noexcept
 

Public Attributes

bool connected: 1
 USB Host Port connected flag.
 
bool overcurrent: 1
 USB Host Port overcurrent flag.
 
speed_t speed: 2
 USB Host Port speed setting (ARM_USB_SPEED_xxx).
 

Detailed Description

Definition at line 99 of file usb-host.h.

Member Function Documentation

◆ get_speed()

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

Definition at line 409 of file usb-host.h.

410 {
411 return speed;
412 }
speed_t speed
USB Host Port speed setting (ARM_USB_SPEED_xxx).
Definition usb-host.h:124

◆ is_connected()

bool os::driver::usb::host::Status::is_connected ( void  ) const
inlinenoexcept

Definition at line 397 of file usb-host.h.

398 {
399 return connected;
400 }
bool connected
USB Host Port connected flag.
Definition usb-host.h:118

◆ is_overcurrent()

bool os::driver::usb::host::Status::is_overcurrent ( void  ) const
inlinenoexcept

Definition at line 403 of file usb-host.h.

404 {
405 return overcurrent;
406 }
bool overcurrent
USB Host Port overcurrent flag.
Definition usb-host.h:121

References os::driver::usb::host::overcurrent.

Member Data Documentation

◆ connected

bool os::driver::usb::host::Status::connected

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

◆ overcurrent

bool os::driver::usb::host::Status::overcurrent

Definition at line 121 of file usb-host.h.

◆ speed

speed_t os::driver::usb::host::Status::speed

Definition at line 124 of file usb-host.h.


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