Loading...
Searching...
No Matches

Additional functions provided in addition to the normal RTC API. More...

Detailed Description

Additional functions provided in addition to the normal RTC API.

Author
Benjamin Valentin benja.nosp@m.min..nosp@m.valen.nosp@m.tin@.nosp@m.ml-pa.nosp@m..com

Definition in file rtt_rtc.h.

#include <stdint.h>
+ Include dependency graph for rtt_rtc.h:

Go to the source code of this file.

Functions

void rtt_rtc_settimeofday (uint32_t s, uint32_t us)
 Set the time as epoch (elapsed seconds since RIOT_EPOCH) with sub-second precision This feature is an extension provided by the rtt_rtc module.
 
void rtt_rtc_gettimeofday (uint32_t *s, uint32_t *us)
 Get the current epoch (elapsed seconds since RIOT_EPOCH) with sub-second precision This feature is an extension provided by the rtt_rtc module.