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 void(* os::driver::usb::device::signal_device_event_t) (const void *object, event_t event) |
Definition at line 189 of file usb-device.h.
typedef void(* os::driver::usb::device::signal_endpoint_event_t) (const void *object, endpoint_t ep_addr, event_t event) |
Definition at line 192 of file usb-device.h.
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 142 of file usb-device.h.
USB Device Endpoint Events.
Enumerator | |
---|---|
setup | SETUP Packet. OUT Packet(s) |
out | IN Packet(s) |
in |
Definition at line 172 of file usb-device.h.