Module gemma_m0::rtc

source ·
Expand description

Real-time clock/counter

Structs

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

Enums

  • ClockMode represents the Clock/Alarm mode
  • 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 represents the mode of the RTC