SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 152
Version 1.1
12.5 RTC REGISTERS
Base Address: 0x4001 2000
12.5.1 RTC Control register (RTC_CTRL)
Address offset: 0x00
Note: RTCEN bit shall be set at last!
Bit
Name
Description
Attribute
Reset
31:1
Reserved
R
0
0
RTCEN
RTC enable bit
0: Disable
1: Enable. Reset SEC_CNT.
R/W
0
12.5.2 RTC Clock Source Select register (RTC_CLKS)
Address offset: 0x04
Note: SW shall disable RTC (RTCEN=0) when changing the value of this register.
Bit
Name
Description
Attribute
Reset
31:1
Reserved
R
0
0
CLKSEL
RTC clock source selection.
HW will reset SEC_CNT and ALM_CNT when changing the value.
0: ILRC
1: ELS X’TAL
R/W
0
12.5.3 RTC Interrupt Enable register (RTC_IE)
Address offset: 0x08
Bit
Name
Description
Attribute
Reset
31:1
Reserved
R
0
0
SECIE
Second interrupt enable
0: Disable
1: Enable
R/W
0
12.5.4 RTC Raw Interrupt Status register (RTC_RIS)
Address offset: 0x0C
Bit
Name
Description
Attribute
Reset
31:1
Reserved
R
0
0
SECIF
Second interrupt flag
This bit is set by HW when SEC_CNT=SEC_CNTV. An interrupt is
generated if SECIE=1.
0: Second flag condition not met.
1: Second flag condition met.
R
0
12.5.5 RTC Interrupt Clear register (RTC_IC)
Address offset: 0x10