24.4 RTC Registers (Base Address : 0x4000_E000)
In these descriptions, for most of the registers the Reset Value shows "NC", meaning that these
registers are Not Changed by a Reset. Software must initialize these registers between power-
on and setting the RTC into operation.
RTC control register (RTCCON)
Address offset: 0x0000
Reset value: 0x0000_0000
W7500x Reference Manual Version1.1.0
Initialize RTC module
Enable RTC
Wait for RTC clock stabilization
time
Select 32768Hz oscillator clock
for RTC
Set Current Time for RTC
Set Alarm Time
Enable RTC Alarm Interrupt
Enable RTC Interrupt and Start
Enable NVIC
Power down (WFE)
Wakeup by Alarm Interrupt
Figure 44. RTC setting flow for Alarm function
310 / 399