µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
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 101 of file usb-host.h.

Member Function Documentation

◆ get_speed()

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

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

◆ is_connected()

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

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

◆ is_overcurrent()

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

Definition at line 401 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 122 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 125 of file usb-host.h.

◆ speed

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

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

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