Files | |
| file | rtt_rtc.h |
| Additional functions provided in addition to the normal RTC API. | |
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. More... | |
| 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. More... | |
| 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.
| [out] | s | The current epoch timestamp |
| [out] | us | Sub-Seconds |
| 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.
| [in] | s | The new epoch timestamp |
| [in] | us | Sub-Seconds |