µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
common.h File Reference
#include <cstdint>

Go to the source code of this file.

Classes

class  os::driver::Base
 
class  os::driver::Version
 

Namespaces

namespace  os
 System namespace.
 
namespace  os::driver
 

Typedefs

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

Enumerations

enum class  os::driver::Power : power_t {
  os::driver::off ,
  os::driver::low ,
  os::driver::full
}
 

Variables

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