23.2 Features

The following are key features of the RTC module:

  • 32-bit counter with 10-bit prescaler
  • Multiple clock sources
  • 32-bit or 16-bit counter mode
  • Two 32-bit or four 16-bit compare values
  • Clock/Calendar mode
    • Time in seconds, minutes, and hours (12/24)
    • Date in day of month, month, and year
    • Leap year correction
  • Digital prescaler correction/tuning for increased accuracy
  • Overflow, alarm/compare match, and prescaler interrupts and events
    • Optional clear on alarm/compare match
  • 8 backup registers with retention capability
  • Tamper Detection
    • Timestamp on event or up to 5 inputs with debouncing
    • Active layer protection