RTC driver RV-3028-C7.
More...
#include <rtc.hpp>
◆ RealTimeClock()
bsp::ygg::prph::RealTimeClock::RealTimeClock |
( |
| ) |
|
|
delete |
◆ getTime()
static time_t bsp::ygg::prph::RealTimeClock::getTime |
( |
| ) |
|
|
inlinestatic |
Get the time saved in the RTC.
- Returns
- Time saved in the RTC
◆ init()
static bool bsp::ygg::prph::RealTimeClock::init |
( |
| ) |
|
|
inlinestatic |
Initialization function.
- Returns
- Success
◆ setTime()
static void bsp::ygg::prph::RealTimeClock::setTime |
( |
time_t |
time | ) |
|
|
inlinestatic |
Set the time in the RTC.
- Parameters
-
time | Time to save in the RTC |
The documentation for this class was generated from the following file:
- Inc/cpp/yggdrasil/peripherals/rtc.hpp