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

Namespaces

namespace  serial
 
namespace  usb
 

Classes

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

Typedefs

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 class  Power : power_t {
  off ,
  low ,
  full
}
 

Variables

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

Typedef Documentation

◆ event_t

using os::driver::event_t = typedef uint32_t

Definition at line 46 of file common.h.

◆ power_t

using os::driver::power_t = typedef uint32_t

Definition at line 48 of file common.h.

◆ return_t

using os::driver::return_t = typedef int32_t

Definition at line 47 of file common.h.

◆ signal_event_t

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

Definition at line 68 of file common.h.

◆ version_t

using os::driver::version_t = typedef uint16_t

Definition at line 45 of file common.h.

Enumeration Type Documentation

◆ Power

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

Definition at line 73 of file common.h.

Variable Documentation

◆ ERROR

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

Driver is busy.

Definition at line 56 of file common.h.

◆ ERROR_BUSY

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

Timeout occurred.

Definition at line 58 of file common.h.

◆ ERROR_PARAMETER

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

Start of driver specific errors.

Definition at line 64 of file common.h.

◆ ERROR_SPECIFIC

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

Definition at line 66 of file common.h.

◆ ERROR_TIMEOUT

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

Operation not supported.

Definition at line 60 of file common.h.

◆ ERROR_UNSUPPORTED

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

Parameter error.

Definition at line 62 of file common.h.

◆ RETURN_OK

constexpr return_t os::driver::RETURN_OK = 0
constexpr

< Operation succeeded

Unspecified error

Definition at line 53 of file common.h.