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

Namespaces

 serial
 
 usb
 

Classes

class  Base
 
class  Serial
 
class  usart_wrapper
 
class  usbd_wrapper
 
class  usbh_wrapper
 
class  Version
 

Types

using event_t = uint32_t
 
using power_t = uint32_t
 
using return_t = int32_t
 
typedef void(* signal_event_t) (const void *object, event_t event)
 
using version_t = uint16_t
 

Enumerations

enum  Power : power_t {
  Power::off,
  Power::low,
  Power::full
}
 

Variables

constexpr return_t ERROR = -1
 Driver is busy. More...
 
constexpr return_t ERROR_BUSY = -2
 Timeout occurred. More...
 
constexpr return_t ERROR_PARAMETER = -5
 Start of driver specific errors. More...
 
constexpr return_t ERROR_SPECIFIC = -6
 
constexpr return_t ERROR_TIMEOUT = -3
 Operation not supported. More...
 
constexpr return_t ERROR_UNSUPPORTED = -4
 Parameter error. More...
 
constexpr return_t RETURN_OK = 0
 < Operation succeeded More...
 

Types

◆ event_t

using os::driver::event_t = typedef uint32_t

Definition at line 50 of file common.h.

◆ power_t

using os::driver::power_t = typedef uint32_t

Definition at line 52 of file common.h.

◆ return_t

using os::driver::return_t = typedef int32_t

Definition at line 51 of file common.h.

◆ signal_event_t

typedef void(* os::driver::signal_event_t) (const void *object, event_t event)

Definition at line 73 of file common.h.

◆ version_t

using os::driver::version_t = typedef uint16_t

Definition at line 49 of file common.h.

Enumeration Type Documentation

◆ Power

enum os::driver::Power : power_t
strong
Enumerator
off 
low 
full 

Definition at line 77 of file common.h.

Variable Documentation

◆ ERROR

constexpr return_t os::driver::ERROR = -1

Driver is busy.

Definition at line 60 of file common.h.

◆ ERROR_BUSY

constexpr return_t os::driver::ERROR_BUSY = -2

Timeout occurred.

Definition at line 62 of file common.h.

◆ ERROR_PARAMETER

constexpr return_t os::driver::ERROR_PARAMETER = -5

Start of driver specific errors.

Definition at line 68 of file common.h.

◆ ERROR_SPECIFIC

constexpr return_t os::driver::ERROR_SPECIFIC = -6

Definition at line 70 of file common.h.

◆ ERROR_TIMEOUT

constexpr return_t os::driver::ERROR_TIMEOUT = -3

Operation not supported.

Definition at line 64 of file common.h.

◆ ERROR_UNSUPPORTED

constexpr return_t os::driver::ERROR_UNSUPPORTED = -4

Parameter error.

Definition at line 66 of file common.h.

◆ RETURN_OK

constexpr return_t os::driver::RETURN_OK = 0

< Operation succeeded

Unspecified error

Definition at line 57 of file common.h.