µ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 speed setting (ARM_USB_SPEED_xxx)
 
speed_t speed:2
 

Detailed Description

USB host state.

Definition at line 109 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.

◆ is_connected()

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

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

◆ is_overcurrent()

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

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

Member Data Documentation

◆ connected

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

< USB Host Port connected flag

USB Host Port overcurrent flag

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

◆ overcurrent

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

USB Host Port speed setting (ARM_USB_SPEED_xxx)

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

◆ speed

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

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


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