µ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 Namespace Reference

Classes

class  Capabilities
 USB device driver capabilities. More...
 
class  Status
 USB device state. More...
 

Typedefs

typedef void(* signal_device_event_t) (const void *object, event_t event)
 
typedef void(* signal_endpoint_event_t) (const void *object, endpoint_t ep_addr, event_t event)
 

Enumerations

enum  Device_event : event_t {
  vbus_on = (1UL << 0) ,
  vbus_off = (1UL << 1) ,
  reset = (1UL << 2) ,
  high_speed = (1UL << 3) ,
  suspend = (1UL << 4) ,
  resume = (1UL << 5)
}
 USB Device Events. More...
 
enum  Endpoint_event : event_t {
  setup = (1UL << 0) ,
  out = (1UL << 1) ,
  in = (1UL << 2)
}
 USB Device Endpoint Events. More...
 

Typedef Documentation

◆ signal_device_event_t

typedef void(* os::driver::usb::device::signal_device_event_t) (const void *object, event_t event)

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

◆ signal_endpoint_event_t

typedef void(* os::driver::usb::device::signal_endpoint_event_t) (const void *object, endpoint_t ep_addr, event_t event)

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

Enumeration Type Documentation

◆ Device_event

USB Device Events.

Todo:
Make enum class.
Enumerator
vbus_on 

USB Device VBUS On.

USB Device VBUS Off

vbus_off 

USB Reset occurred.

reset 

USB switch to High Speed occurred.

high_speed 

USB Suspend occurred.

suspend 

USB Resume occurred.

resume 

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

◆ Endpoint_event

USB Device Endpoint Events.

Enumerator
setup 

SETUP Packet.

OUT Packet(s)

out 

IN Packet(s)

in 

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