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

Classes

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

Typedefs

typedef void(* signal_pipe_event_t) (const void *object, pipe_t pipe, event_t event)
 
typedef void(* signal_port_event_t) (const void *object, port_t port, event_t event)
 

Enumerations

enum  Pipe_event : event_t {
  transfer_complete = (1UL << 0) ,
  handshake_nak = (1UL << 1) ,
  handshake_nyet = (1UL << 2) ,
  handshake_mdata = (1UL << 3) ,
  handshake_stall = (1UL << 4) ,
  handshake_err = (1UL << 5) ,
  bus_err = (1UL << 6)
}
 USB Host Pipe Event. More...
 
enum  Port_event : event_t {
  connect = (1UL << 0) ,
  disconnect = (1UL << 1) ,
  overcurrent = (1UL << 2) ,
  reset = (1UL << 3) ,
  suspend = (1UL << 4) ,
  resume = (1UL << 5) ,
  remote_hangup = (1UL << 6)
}
 USB Host Port Events. More...
 

Typedef Documentation

◆ signal_pipe_event_t

typedef void(* os::driver::usb::host::signal_pipe_event_t) (const void *object, pipe_t pipe, event_t event)

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

◆ signal_port_event_t

typedef void(* os::driver::usb::host::signal_port_event_t) (const void *object, port_t port, event_t event)

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

Enumeration Type Documentation

◆ Pipe_event

USB Host Pipe Event.

Enumerator
transfer_complete 

Transfer completed.

NAK Handshake received

handshake_nak 

NYET Handshake received.

handshake_nyet 

MDATA Handshake received.

handshake_mdata 

STALL Handshake received.

handshake_stall 

ERR Handshake received.

handshake_err 

Bus Error detected.

bus_err 

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

◆ Port_event

USB Host Port Events.

Enumerator
connect 

USB Device Connected to Port.

USB Device Disconnected from Port

disconnect 

USB Device caused Overcurrent.

overcurrent 

USB Reset completed.

reset 

USB Suspend occurred.

suspend 

USB Resume occurred.

resume 

USB Device activated Remote Wakeup.

remote_hangup 

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