Wiselib
|
TinyOs Implementation of Clock Concept. More...
#include <tinyos_clock.h>
Public Types | |
enum | ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC } |
enum | { READY = OsModel::READY, NO_VALUE = OsModel::NO_VALUE, INACTIVE = OsModel::INACTIVE } |
enum | { CLOCKS_PER_SEC = 1000 } |
typedef OsModel_P | OsModel |
typedef TinyOsClockModel< OsModel > | self_type |
typedef self_type * | self_pointer_t |
typedef uint32_t | time_t |
Public Member Functions | |
TinyOsClockModel () | |
int | state () |
time_t | time () |
uint16_t | microseconds (time_t time) |
uint16_t | milliseconds (time_t time) |
uint32_t | seconds (time_t time) |
TinyOs Implementation of Clock Concept.
, ,
TinyOs implementation of the Clock Concept ...
typedef OsModel_P wiselib::TinyOsClockModel< OsModel_P >::OsModel |
typedef self_type* wiselib::TinyOsClockModel< OsModel_P >::self_pointer_t |
typedef TinyOsClockModel<OsModel> wiselib::TinyOsClockModel< OsModel_P >::self_type |
typedef uint32_t wiselib::TinyOsClockModel< OsModel_P >::time_t |
enum wiselib::TinyOsClockModel::ErrorCodes |
wiselib::TinyOsClockModel< OsModel_P >::TinyOsClockModel | ( | ) | [inline] |
uint16_t wiselib::TinyOsClockModel< OsModel_P >::microseconds | ( | time_t | time | ) | [inline] |
uint16_t wiselib::TinyOsClockModel< OsModel_P >::milliseconds | ( | time_t | time | ) | [inline] |
uint32_t wiselib::TinyOsClockModel< OsModel_P >::seconds | ( | time_t | time | ) | [inline] |
int wiselib::TinyOsClockModel< OsModel_P >::state | ( | ) | [inline] |
time_t wiselib::TinyOsClockModel< OsModel_P >::time | ( | ) | [inline] |