Header file for a simple time synchronization mechanism
Functions | |
int | timesynch_authority_level (void) |
Get the current authority level of the time-synchronized time. More... | |
void | timesynch_init (void) |
Initialize the timesynch module. More... | |
rtimer_clock_t | timesynch_offset (void) |
Get the current time-synchronized offset from the rtimer clock, which is used mainly for debugging. More... | |
rtimer_clock_t | timesynch_rtimer_to_time (rtimer_clock_t rtimer_time) |
Get the synchronized equivalent of an rtimer time. More... | |
void | timesynch_set_authority_level (int level) |
Set the authority level of the current time. More... | |
rtimer_clock_t | timesynch_time (void) |
Get the current time-synchronized time. More... | |
rtimer_clock_t | timesynch_time_to_rtimer (rtimer_clock_t synched_time) |
Get the current time-synchronized time, suitable for use with the rtimer module. More... | |