µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
os::driver::usb::device Namespace Reference

Classes

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

Types

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...
 

Types

◆ signal_device_event_t

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

Definition at line 178 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 181 of file usb-device.h.

Enumeration Type Documentation

◆ Device_event

USB Device Events.

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 130 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 160 of file usb-device.h.