22.7 Events
The RTC can generate the events described in the following table:
Generator Name | Description | Event Type | Generating Clock Domain | Length of Event | |||
---|---|---|---|---|---|---|---|
Peripheral | Event | ||||||
RTC | OVF | Overflow | Pulse | CLK_RTC | One CLK_RTC period | ||
CMP | Compare Match | ||||||
PIT_DIV8192 | Prescaled RTC clock divided by 8192 | Level | Given by prescaled RTC clock divided by 8192 | ||||
PIT_DIV4096 | Prescaled RTC clock divided by 4096 | Given by prescaled RTC clock divided by 4096 | |||||
PIT_DIV2048 | Prescaled RTC clock divided by 2048 | Given by prescaled RTC clock divided by 2048 | |||||
PIT_DIV1024 | Prescaled RTC clock divided by 1024 | Given by prescaled RTC clock divided by 1024 | |||||
PIT_DIV512 | Prescaled RTC clock divided by 512 | Given by prescaled RTC clock divided by 512 | |||||
PIT_DIV256 | Prescaled RTC clock divided by 256 | Given by prescaled RTC clock divided by 256 | |||||
PIT_DIV128 | Prescaled RTC clock divided by 128 | Given by prescaled RTC clock divided by 128 | |||||
PIT_DIV64 | Prescaled RTC clock divided by 64 | Given by prescaled RTC clock divided by 64 |
The conditions for generating the OVF and CMP events are identical to those that will raise the corresponding interrupt flags in the RTC.INTFLAGS register.
Refer to the Event System (EVSYS) section for more details regarding event users and Event System configuration.