The main features of the RTC are:
- 100-year calendar
- Counts seconds, minutes, hours, day of the week, date, month, and year with leap year compensation
- Binary-coded decimal (BCD) representation of time, calendar and alarm
- Alarm interrupt
- Periodic interrupt
- Single interrupt to the host processor
- External 32-kHz clock
- Isolated RTC voltage domain which remains powered during standby (RTC) mode while the rest of chip supplies are turned off
- RTC voltage domain has 3 × 32-bit read/write scratch registers retained in RTC modes
- RTC supports wakeup input pins:
- Each input has a filter to detect high or low transition with pulse duration.
- Each pin has the following controls retained in standby mode and modified and read by control module in ON mode.
- Enable bit (decides if the pin causes wakeup or not)
- Edge sensitivity (rising, falling, or both causing wakeup)
- Wake-up flag (sticky bits indicating wake-up source)
- Allow paths for optional input to GPIO if not used for wakeup.
- PMIC enable output pin to indicate external switched MAIN domain supplies to turn on or off based on wakeup state