Module rtc

Source
Expand description

Real-time clock/counter

Structs§

Datetime
Datetime represents an RTC clock/calendar value.
Rtc
Rtc represents the RTC peripheral for either clock/calendar or timer mode.
TimerParams
Helper type for computing cycles and divider given frequency

Enums§

ClockMode
ClockMode represents the Clock/Alarm mode
Count32Mode
Count32Mode represents the 32-bit counter mode. This is a free running count-up timer. When used in Periodic/CountDown mode with the embedded-hal trait(s), it resets to zero on compare and starts counting up again.

Traits§

RtcMode
RtcMode represents the mode of the RTC