24.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
  • Four general purpose registers
  • Tamper Detection
    • Up to 8 static tamper inputs with programmable level detection
    • Up to 8 inputs and 8 outputs dynamic tamper (Active layer protection)
    • Support for any kinds of static and dynamic combinations
    • Timestamp on tampers event