6.3.4.4 RTC Interrupts
The RTC supports two types of interrupts:
- IT_ALARM interrupt. This interrupt is generated when the configured date or time in the corresponding ALARM registers is reached. This interrupt is enable by the IT_ALARM bit in the RTC_INTERRUPT_REG register.
- IT_TIMER interrupt. This interrupt is generated when the periodic time set in the EVERY bits of the RTC_INTERRUPT_REG register is reached. This interrupt is enabled by the IT_TIMER bit in the RTC_INTERRUPT_REG register. During the SLEEP state, the IT_TIMER interrupt can either be masked (stored and generated once out of SLEEP state) or unmasked using the IT_SLEEP_MASK_EN bit of the RTC_INTERRUPT_REG register.