[−][src]Module stm32f1xx_hal::rtc
Real time clock
A continuously running clock that counts seconds. It is part of the backup domain which means that the counter is not affected by system resets or standby mode. If Vbat is connected, it is not reset even if the rest of the device is powered off. This allows it to be used to wake the CPU when it is in low power mode.
Since it is part of the backup domain, write access to it must be enabled before the RTC can be
used. See backup_domain
for more details.
See examples/rtc.rs and examples/blinky_rtc.rs for usage examples.
Structs
Rtc | Interface to the real time clock |