Wiselib
|
Contiki Implementation of Clock ConceptContiki implementation of the Clock Concept ... More...
#include <contiki_clock.h>
Classes | |
struct | timer |
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 ContikiClockModel < OsModel > | self_type |
typedef self_type * | self_pointer_t |
typedef clock_time_t | time_t |
Public Member Functions | |
ContikiClockModel () | |
void | init () |
int | state () |
time_t | time () |
int | set_time (time_t time) |
uint16_t | microseconds (time_t time) |
uint16_t | milliseconds (time_t time) |
uint32_t | seconds (time_t time) |
Contiki Implementation of Clock Concept
Contiki implementation of the Clock Concept ...
typedef OsModel_P wiselib::ContikiClockModel< OsModel_P >::OsModel |
typedef self_type* wiselib::ContikiClockModel< OsModel_P >::self_pointer_t |
typedef ContikiClockModel<OsModel> wiselib::ContikiClockModel< OsModel_P >::self_type |
typedef clock_time_t wiselib::ContikiClockModel< OsModel_P >::time_t |
enum wiselib::ContikiClockModel::ErrorCodes |
wiselib::ContikiClockModel< OsModel_P >::ContikiClockModel | ( | ) | [inline] |
void wiselib::ContikiClockModel< OsModel_P >::init | ( | void | ) | [inline] |
uint16_t wiselib::ContikiClockModel< OsModel_P >::microseconds | ( | time_t | time | ) | [inline] |
uint16_t wiselib::ContikiClockModel< OsModel_P >::milliseconds | ( | time_t | time | ) | [inline] |
uint32_t wiselib::ContikiClockModel< OsModel_P >::seconds | ( | time_t | time | ) | [inline] |
int wiselib::ContikiClockModel< OsModel_P >::set_time | ( | time_t | time | ) | [inline] |
int wiselib::ContikiClockModel< OsModel_P >::state | ( | ) | [inline] |
time_t wiselib::ContikiClockModel< OsModel_P >::time | ( | ) | [inline] |