EmlaLockSafe
RealTimeClock Class Reference

Helper syncinc the SystemClock with the RTC running in UTC. More...

#include <RealTimeClock.h>

Static Public Member Functions

static void loadTimeFromRtc ()
 Sets the system clock based on the RTC. More...
 
static void saveTimeToRtc ()
 Sets the RTC time to the value of the system clock. More...
 

Detailed Description

Helper syncinc the SystemClock with the RTC running in UTC.

Author
Hugo3132

Member Function Documentation

◆ loadTimeFromRtc()

static void RealTimeClock::loadTimeFromRtc ( )
inlinestatic

Sets the system clock based on the RTC.

◆ saveTimeToRtc()

static void RealTimeClock::saveTimeToRtc ( )
inlinestatic

Sets the RTC time to the value of the system clock.


The documentation for this class was generated from the following file: