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. | |
bool | vbus:1 |
< USB Device VBUS flag | |
USB device state.
Definition at line 96 of file usb-device.h.
|
inlinenoexcept |
Definition at line 470 of file usb-device.h.
|
inlinenoexcept |
Definition at line 476 of file usb-device.h.
|
inlinenoexcept |
Definition at line 464 of file usb-device.h.
bool os::driver::usb::device::Status::active |
Definition at line 123 of file usb-device.h.
speed_t os::driver::usb::device::Status::speed |
USB Device active flag.
Definition at line 120 of file usb-device.h.
bool os::driver::usb::device::Status::vbus |
< USB Device VBUS flag
USB Device speed setting (ARM_USB_SPEED_xxx)
Definition at line 117 of file usb-device.h.