\n

RTC

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x80 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x120 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x130 Bytes (0x0)
size : 0x8 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x110 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x100 Bytes (0x0)
size : 0xC byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x128 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection : not protected

Registers

RTC_INIT (INIT)

RTC_CAL (CAL)

RTC_LXTCTL (LXTCTL)

RTC_GPIOCTL0 (GPIOCTL0)

RTC_GPIOCTL1 (GPIOCTL1)

RTC_DSTCTL (DSTCTL)

RTC_TAMPCTL (TAMPCTL)

RTC_TAMPSEED (TAMPSEED)

RTC_TAMPTIME (TAMPTIME)

RTC_TAMPCAL (TAMPCAL)

RTC_CLKFMT (CLKFMT)

RTC_WEEKDAY (WEEKDAY)

RTC_TALM (TALM)

RTC_CALM (CALM)

RTC_LEAPYEAR (LEAPYEAR)

RTC_INTEN (INTEN)

RTC_INTSTS (INTSTS)

RTC_TICK (TICK)

RTC_TAMSK (TAMSK)

RTC_CAMSK (CAMSK)

RTC_SPRCTL (SPRCTL)

RTC_RWEN (RWEN)

RTC_SPR0 (SPR0)

RTC_SPR1 (SPR1)

RTC_SPR2 (SPR2)

RTC_SPR3 (SPR3)

RTC_SPR4 (SPR4)

RTC_SPR5 (SPR5)

RTC_SPR6 (SPR6)

RTC_SPR7 (SPR7)

RTC_SPR8 (SPR8)

RTC_SPR9 (SPR9)

RTC_SPR10 (SPR10)

RTC_SPR11 (SPR11)

RTC_SPR12 (SPR12)

RTC_SPR13 (SPR13)

RTC_SPR14 (SPR14)

RTC_SPR15 (SPR15)

RTC_FREQADJ (FREQADJ)

RTC_SPR16 (SPR16)

RTC_SPR17 (SPR17)

RTC_SPR18 (SPR18)

RTC_SPR19 (SPR19)

RTC_TIME (TIME)


RTC_INIT (INIT)

RTC Initiation Register
address_offset : 0x0 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_INIT RTC_INIT read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 INIT_ACTIVE INIT

INIT_ACTIVE : RTC Active Status (Read Only)
bits : 0 - 0 (1 bit)
access : read-only

Enumeration:

#0 : 0

RTC is at reset state

#1 : 1

RTC is at normal active state

End of enumeration elements list.

INIT : RTC Initiation (Write Only)\nWhen RTC block is powered on, RTC is at reset state. User has to write a number (0x a5eb1357) to INIT to make RTC leave reset state. Once the INIT is written as 0xa5eb1357, the RTC will be in un-reset state permanently.\nThe INIT is a write-only field and read value will be always 0.
bits : 1 - 31 (31 bit)
access : write-only


RTC_CAL (CAL)

RTC Calendar Loading Register
address_offset : 0x10 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_CAL RTC_CAL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DAY TENDAY MON TENMON YEAR TENYEAR

DAY : 1-Day Calendar Digit (0~9)
bits : 0 - 3 (4 bit)
access : read-write

TENDAY : 10-Day Calendar Digit (0~3)
bits : 4 - 5 (2 bit)
access : read-write

MON : 1-Month Calendar Digit (0~9)
bits : 8 - 11 (4 bit)
access : read-write

TENMON : 10-Month Calendar Digit (0~1)
bits : 12 - 12 (1 bit)
access : read-write

YEAR : 1-Year Calendar Digit (0~9)
bits : 16 - 19 (4 bit)
access : read-write

TENYEAR : 10-Year Calendar Digit (0~9)
bits : 20 - 23 (4 bit)
access : read-write


RTC_LXTCTL (LXTCTL)

RTC 32.768 KHz Oscillator Control Register
address_offset : 0x100 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_LXTCTL RTC_LXTCTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GAIN

GAIN : Oscillator Gain Option\nUser can select oscillator gain according to crystal external loading and operating temperature range. The larger gain value corresponding to stronger driving capability and higher power consumption.
bits : 1 - 2 (2 bit)
access : read-write

Enumeration:

#00 : 0

L0 mode

#01 : 1

L1 mode

#10 : 2

L2 mode

#11 : 3

L3 mode

End of enumeration elements list.


RTC_GPIOCTL0 (GPIOCTL0)

RTC GPIO Control 0 Register
address_offset : 0x104 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_GPIOCTL0 RTC_GPIOCTL0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 OPMODE0 DOUT0 CTLSEL0 PUSEL0 OPMODE1 DOUT1 CTLSEL1 PUSEL1 OPMODE2 DOUT2 CTLSEL2 PUSEL2 OPMODE3 DOUT3 CTLSEL3 PUSEL3

OPMODE0 : IO Operation Mode
bits : 0 - 1 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.4 is input only mode

#01 : 1

PF.4 is output push pull mode

#10 : 2

PF.4 is open drain mode

#11 : 3

PF.4 is quasi-bidirectional mode

End of enumeration elements list.

DOUT0 : IO Output Data
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.4 output low

#1 : 1

PF.4 output high

End of enumeration elements list.

CTLSEL0 : IO Pin State Backup Selection\nWhen low speed 32 kHz oscillator is disabled, PF.4 pin (X32KO pin) can be used as GPIO function. User can program CTLSEL0 to decide PF.4 I/O function is controlled by system power domain GPIO module or VBAT power domain RTC_GPIOCTL0 control register.\nPF.4 pin function and I/O status are controlled by OPMODE0[1:0] and DOUT0 after CTLSEL0 is set to 1.\nNote: CTLSEL0 will automatically be set by hardware to 1 when system power is off and INIT[0] (RTC_INIT[0]) is 1.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.4 pin I/O function is controlled by GPIO module

#1 : 1

PF.4 pin I/O function is controlled by VBAT power domain

End of enumeration elements list.

PUSEL0 : IO Pull-up and Pull-down Enable Bits Determine PF.4 I/O pull-up or pull-down. Note: Basically, the pull-up control and pull-down control has following behavior limitation. The independent pull-up / pull-down control register only valid when OPMODE2 set as input tri-state and open-drain mode.
bits : 4 - 5 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.4 pull-up and pull-down disable

#01 : 1

PF.4 pull-up enable

#10 : 2

PF.4 pull-down enable

End of enumeration elements list.

OPMODE1 : IO Operation Mode
bits : 8 - 9 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.5 is input only mode

#01 : 1

PF.5 is output push pull mode

#10 : 2

PF.5 is open drain mode

#11 : 3

PF.5 is quasi-bidirectional mode

End of enumeration elements list.

DOUT1 : IO Output Data
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.5 output low

#1 : 1

PF.5 output high

End of enumeration elements list.

CTLSEL1 : IO Pin State Backup Selection\nWhen low speed 32 kHz oscillator is disabled, PF.5 pin (X32KI pin) can be used as GPIO function. User can program CTLSEL1 to decide PF.5 I/O function is controlled by system power domain GPIO module or VBAT power domain RTC_GPIOCTL0 control register.\nPF.5 pin function and I/O status are controlled by OPMODE1[1:0] and DOUT1 after CTLSEL1 is set to 1.\nNote: CTLSEL1 will automatically be set by hardware to 1 when system power is off and INIT[0] (RTC_INIT[0]) is 1.
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.5 pin I/O function is controlled by GPIO module

#1 : 1

PF.5 pin I/O function is controlled by VBAT power domain

End of enumeration elements list.

PUSEL1 : IO Pull-up and Pull-down Enable Bits Determine PF.5 I/O pull-up or pull-down. Note: Basically, the pull-up control and pull-down control has following behavior limitation. The independent pull-up / pull-down control register only valid when OPMODE2 set as input tri-state and open-drain mode.
bits : 12 - 13 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.5 pull-up and pull-up disable

#01 : 1

PF.5 pull-up enable

#10 : 2

PF.5 pull-down enable

End of enumeration elements list.

OPMODE2 : IO Operation Mode
bits : 16 - 17 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.6 is input only mode

#01 : 1

PF.6 is output push pull mode

#10 : 2

PF.6 is open drain mode

#11 : 3

PF.6 is quasi-bidirectional mode

End of enumeration elements list.

DOUT2 : IO Output Data
bits : 18 - 18 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.6 output low

#1 : 1

PF.6 output high

End of enumeration elements list.

CTLSEL2 : IO Pin State Backup Selection\nWhen TAMP0EN is disabled, PF.6 pin (TAMPER0 pin) can be used as GPIO function. User can program CTLSEL2 to decide PF.6 I/O function is controlled by system power domain GPIO module or VBAT power domain RTC_GPIOCTL0 control register.\nPF.6 pin function and I/O status are controlled by OPMODE2[1:0] and DOUT2 after CTLSEL2 is set to 1.\nNote: CTLSEL2 will automatically be set by hardware to 1 when system power is off and INIT[0] (RTC_INIT[0]) is 1.
bits : 19 - 19 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.6 pin I/O function is controlled by GPIO module

#1 : 1

PF.6 pin I/O function is controlled by VBAT power domain

End of enumeration elements list.

PUSEL2 : IO Pull-up and Pull-down Enable Bits Determine PF.6 I/O pull-up or pull-down. Note1: Basically, the pull-up control and pull-down control has following behavior limitation. The independent pull-up / pull-down control register only valid when OPMODE2 set as input tri-state and open-drain mode.
bits : 20 - 21 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.6 pull-up and pull-down disable

#01 : 1

PF.6 pull-up enable

#10 : 2

PF.6 pull-down enable

End of enumeration elements list.

OPMODE3 : IO Operation Mode
bits : 24 - 25 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.7 is input only mode

#01 : 1

PF.7 is output push pull mode

#10 : 2

PF.7 is open drain mode

#11 : 3

PF.7 is quasi-bidirectional mode

End of enumeration elements list.

DOUT3 : IO Output Data
bits : 26 - 26 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.7 output low

#1 : 1

PF.7 output high

End of enumeration elements list.

CTLSEL3 : IO Pin State Backup Selection\nWhen TAMP1EN is disabled, PF.7 pin (TAMPER1 pin) can be used as GPIO function. User can program CTLSEL3 to decide PF.7 I/O function is controlled by system power domain GPIO module or VBAT power domain RTC_GPIOCTL0 control register.\nPF.7 pin function and I/O status are controlled by OPMODE3[1:0] and DOUT3 after CTLSEL3 is set to 1.\nNote: CTLSEL3 will automatically be set by hardware to 1 when system power is off and INIT[0](RTC_INIT[0]) is 1.
bits : 27 - 27 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.7 pin I/O function is controlled by GPIO module

#1 : 1

PF.7 pin I/O function is controlled by VBAT power domain

End of enumeration elements list.

PUSEL3 : IO Pull-up and Pull-down Enable Bits Determine PF.7 I/O pull-up or pull-down. Note: Basically, the pull-up control and pull-down control has following behavior limitation. The independent pull-up / pull-down control register only valid when OPMODE2 set as input tri-state and open-drain mode.
bits : 28 - 29 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.7 pull-up and pull-down disable

#01 : 1

PF.7 pull-up enable

#10 : 2

PF.7 pull-down enable

End of enumeration elements list.


RTC_GPIOCTL1 (GPIOCTL1)

RTC GPIO Control 1 Register
address_offset : 0x108 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_GPIOCTL1 RTC_GPIOCTL1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 OPMODE4 DOUT4 CTLSEL4 PUSEL4 OPMODE5 DOUT5 CTLSEL5 PUSEL5 OPMODE6 DOUT6 CTLSEL6 PUSEL6 OPMODE7 DOUT7 CTLSEL7 PUSEL7

OPMODE4 : IO Operation Mode
bits : 0 - 1 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.8 is input only mode

#01 : 1

PF.8 is output push pull mode

#10 : 2

PF.8 is open drain mode

#11 : 3

PF.8 is quasi-bidirectional mode

End of enumeration elements list.

DOUT4 : IO Output Data
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.8 output low

#1 : 1

PF.8 output high

End of enumeration elements list.

CTLSEL4 : IO Pin State Backup Selection\nWhen TAMP2EN is disabled, PF.8 pin (TAMPER2 pin) can be used as GPIO function. User can program CTLSEL4 to decide PF.8 I/O function is controlled by system power domain GPIO module or VBAT power domain RTC_GPIOCTL1 control register.\nPF.8 pin function and I/O status are controlled by OPMODE4[1:0] and DOUT4 after CTLSEL4 is set to 1.\nNote: CTLSEL4 will automatically be set by hardware to 1 when system power is off and INIT[0] (RTC_INIT[0]) is 1.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.8 pin I/O function is controlled by GPIO module

#1 : 1

PF.8 pin I/O function is controlled by VBAT power domain

End of enumeration elements list.

PUSEL4 : IO Pull-up and Pull-down Enable Bits Determine PF.8 I/O pull-up or pull-down. Note: Basically, the pull-up control and pull-down control has following behavior limitation. The independent pull-up / pull-down control register only valid when OPMODE2 set as input tri-state and open-drain mode.
bits : 4 - 5 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.8 pull-up and pull-down disable

#01 : 1

PF.8 pull-up enable

#10 : 2

PF.8 pull-down enable

End of enumeration elements list.

OPMODE5 : IO Operation Mode
bits : 8 - 9 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.9 is input only mode

#01 : 1

PF.9 is output push pull mode

#10 : 2

PF.9 is open drain mode

#11 : 3

PF.9 is quasi-bidirectional mode

End of enumeration elements list.

DOUT5 : IO Output Data
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.9 output low

#1 : 1

PF.9 output high

End of enumeration elements list.

CTLSEL5 : IO Pin State Backup Selection\nWhen TAMP3EN is disabled, PF.9 pin (TAMPER3 pin) can be used as GPIO function. User can program CTLSEL5 to decide PF.9 I/O function is controlled by system power domain GPIO module or VBAT power domain RTC_GPIOCTL1 control register.\nPF.9 pin function and I/O status are controlled by OPMODE5[1:0] and DOUT5 after CTLSEL5 is set to 1.\nNote: CTLSEL5 will automatically be set by hardware to 1 when system power is off and INIT[0] (RTC_INIT[0]) is 1.
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.9 pin I/O function is controlled by GPIO module

#1 : 1

PF.9 pin I/O function is controlled by VBAT power domain

End of enumeration elements list.

PUSEL5 : IO Pull-up and Pull-down Enable Bits Determine PF.9 I/O pull-up or pull-down. Note: Basically, the pull-up control and pull-down control has following behavior limitation. The independent pull-up / pull-down control register only valid when OPMODE2 set as input tri-state and open-drain mode.
bits : 12 - 13 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.9 pull-up and pull-down disable

#01 : 1

PF.9 pull-up enable

#10 : 2

PF.9 pull-down enable

End of enumeration elements list.

OPMODE6 : IO Operation Mode
bits : 16 - 17 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.10 is input only mode

#01 : 1

PF.10 is output push pull mode

#10 : 2

PF.10 is open drain mode

#11 : 3

PF.10 is quasi-bidirectional mode

End of enumeration elements list.

DOUT6 : IO Output Data
bits : 18 - 18 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.10 output low

#1 : 1

PF.10 output high

End of enumeration elements list.

CTLSEL6 : IO Pin State Backup Selection\nWhen TAMP4EN is disabled, PF.10 pin (TAMPER4 pin) can be used as GPIO function. User can program CTLSEL6 to decide PF.10 I/O function is controlled by system power domain GPIO module or VBAT power domain RTC_GPIOCTL1 control register.\nPF.10 pin function and I/O status are controlled by OPMODE6[1:0] and DOUT6 after CTLSEL6 is set to 1.\nNote: CTLSEL6 will automatically be set by hardware to 1 when system power is off and INIT[0] (RTC_INIT[0]) is 1.
bits : 19 - 19 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.10 pin I/O function is controlled by GPIO module

#1 : 1

PF.10 pin I/O function is controlled by VBAT power domain

End of enumeration elements list.

PUSEL6 : IO Pull-up and Pull-down Enable Bits\nDetermine PF.10 I/O pull-up or pull-down.\nNote: Basically, the pull-up control and pull-down control has following behavior limitation.\nThe independent pull-up / pull-down control register only valid when OPMODE2 set as input tri-state and open-drain mode.
bits : 20 - 21 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.10 pull-up and pull-down disable

#01 : 1

PF.10 pull-up enable

#10 : 2

PF.10 pull-down enable

End of enumeration elements list.

OPMODE7 : IO Operation Mode
bits : 24 - 25 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.11 is input only mode

#01 : 1

PF.11 is output push pull mode

#10 : 2

PF.11 is open drain mode

#11 : 3

PF.11 is quasi-bidirectional mode

End of enumeration elements list.

DOUT7 : IO Output Data
bits : 26 - 26 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.11 output low

#1 : 1

PF.11 output high

End of enumeration elements list.

CTLSEL7 : IO Pin State Backup Selection\nWhen TAMP5EN is disabled, PF.11 pin (TAMPER5 pin) can be used as GPIO function. User can program CTLSEL7 to decide PF.11 I/O function is controlled by system power domain GPIO module or VBAT power domain RTC_GPIOCTL1 control register.\nPF.11 pin function and I/O status are controlled by OPMODE7[1:0] and DOUT7 after CTLSEL7 is set to 1.\nNote: CTLSEL7 will automatically be set by hardware to 1 when system power is off and INIT[0] (RTC_INIT[0]) is 1.
bits : 27 - 27 (1 bit)
access : read-write

Enumeration:

#0 : 0

PF.11 pin I/O function is controlled by GPIO module

#1 : 1

PF.11 pin I/O function is controlled by VBAT power domain

End of enumeration elements list.

PUSEL7 : IO Pull-up and Pull-down Enable Bits Determine PF.11 I/O pull-up or pull-down. Note: Basically, the pull-up control and pull-down control has following behavior limitation. The independent pull-up / pull-down control register only valid when OPMODE2 set as input tri-state and open-drain mode.
bits : 28 - 29 (2 bit)
access : read-write

Enumeration:

#00 : 0

PF.11 pull-up and pull-down disable

#01 : 1

PF.11 pull-up enable

#10 : 2

PF.11 pull-down enable

End of enumeration elements list.


RTC_DSTCTL (DSTCTL)

RTC Daylight Saving Time Control Register
address_offset : 0x110 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_DSTCTL RTC_DSTCTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ADDHR SUBHR DSBAK

ADDHR : Add 1 Hour
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

No effect

#1 : 1

Indicates RTC hour digit has been added one hour for summer time change

End of enumeration elements list.

SUBHR : Subtract 1 Hour
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

No effect

#1 : 1

Indicates RTC hour digit has been subtracted one hour for winter time change

End of enumeration elements list.

DSBAK : Daylight Saving Back
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Normal mode

#1 : 1

Daylight saving mode

End of enumeration elements list.


RTC_TAMPCTL (TAMPCTL)

RTC Tamper Pin Control Register
address_offset : 0x120 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_TAMPCTL RTC_TAMPCTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DYN1ISS DYN2ISS DYNSRC SEEDRLD DYNRATE TAMP0EN TAMP0LV TAMP0DBEN TAMP1EN TAMP1LV TAMP1DBEN DYNPR0EN TAMP2EN TAMP2LV TAMP2DBEN TAMP3EN TAMP3LV TAMP3DBEN DYNPR1EN TAMP4EN TAMP4LV TAMP4DBEN TAMP5EN TAMP5LV TAMP5DBEN DYNPR2EN

DYN1ISS : Dynamic Pair 1 Input Source Select\nThis bit determine Tamper 3 input is from Tamper 2 or Tamper 0 in dynamic mode.\nNote: This bit is effective only when DYNPR1EN (RTC_TAMPCTL[16]) and DYNPR0EN (RTC_TAMPCTL[15]) are set
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper input is from Tamper 2

#1 : 1

Tamper input is from Tamper 0

End of enumeration elements list.

DYN2ISS : Dynamic Pair 2 Input Source Select\nThis bit determine Tamper 5 input is from Tamper 4 or Tamper 0 in dynamic mode.\nNote: This bit has effect only when DYNPR2EN (RTC_TAMPCTL[24]) and DYNPR0EN (RTC_TAMPCTL[15]) are set
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper input is from Tamper 4

#1 : 1

Tamper input is from Tamper 0

End of enumeration elements list.

DYNSRC : Dynamic Reference Pattern\nThis fields determine the new reference pattern when current pattern run out in dynamic pair mode.\nNote: After this bit is modified, the SEEDRLD (RTC_TAMPCTL[4]) should be set.
bits : 2 - 3 (2 bit)
access : read-write

Enumeration:

#01 : 1

The new reference pattern is repeated previous random value when the reference pattern run out

#11 : 3

The new reference pattern is repeated from SEED (RTC_TAMPSEED[31:0]) when the reference pattern run out

End of enumeration elements list.

SEEDRLD : Reload New Seed for PRNG Engine\nSetting this bit, the tamper configuration will be reload.\nNote: Before this bit is set, the tamper configuration should be set to complete.
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Generating key based on the current seed

#1 : 1

Reload new seed

End of enumeration elements list.

DYNRATE : Dynamic Change Rate\nThis item is choice the dynamic tamper output change rate.\nNote: After revising this field, set SEEDRLD (RTC_TAMPCTL[4]) can reload change rate immediately.
bits : 5 - 7 (3 bit)
access : read-write

Enumeration:

#000 : 0

210 * RTC_CLK

#001 : 1

211 * RTC_CLK

#010 : 2

212 * RTC_CLK

#011 : 3

213 * RTC_CLK

#100 : 4

214 * RTC_CLK

#101 : 5

215 * RTC_CLK

#110 : 6

216 * RTC_CLK

#111 : 7

217 * RTC_CLK

End of enumeration elements list.

TAMP0EN : Tamper0 Detect Enable Bit\nNote1: The reference is RTC-clock. Tamper detector need sync 2 ~ 3 RTC-clock.
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 0 detect Disabled

#1 : 1

Tamper 0 detect Enabled

End of enumeration elements list.

TAMP0LV : Tamper 0 Level\nThis bit depends on level attribute of tamper pin for static tamper detection.
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

Detect voltage level is low

#1 : 1

Detect voltage level is high

End of enumeration elements list.

TAMP0DBEN : Tamper 0 De-bounce Enable Bit
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 0 de-bounce Disabled

#1 : 1

Tamper 0 de-bounce Enabled

End of enumeration elements list.

TAMP1EN : Tamper 1 Detect Enable Bit\nNote1: The reference is RTC-clock. Tamper detector need sync 2 ~ 3 RTC-clock.
bits : 12 - 12 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 1 detect Disabled

#1 : 1

Tamper 1 detect Enabled

End of enumeration elements list.

TAMP1LV : Tamper 1 Level\nThis bit depends on level attribute of tamper pin for static tamper detection.
bits : 13 - 13 (1 bit)
access : read-write

Enumeration:

#0 : 0

Detect voltage level is low

#1 : 1

Detect voltage level is high

End of enumeration elements list.

TAMP1DBEN : Tamper 1 De-bounce Enable Bit
bits : 14 - 14 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 1 de-bounce Disabled

#1 : 1

Tamper 1 de-bounce Enabled

End of enumeration elements list.

DYNPR0EN : Dynamic Pair 0 Enable Bit
bits : 15 - 15 (1 bit)
access : read-write

Enumeration:

#0 : 0

Static detect

#1 : 1

Dynamic detect

End of enumeration elements list.

TAMP2EN : Tamper 2 Detect Enable Bit\nNote1: The reference is RTC-clock. Tamper detector need sync 2 ~ 3 RTC-clock.
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 2 detect Disabled

#1 : 1

Tamper 2 detect Enabled

End of enumeration elements list.

TAMP2LV : Tamper 2 Level\nThis bit depends on level attribute of tamper pin for static tamper detection.
bits : 17 - 17 (1 bit)
access : read-write

Enumeration:

#0 : 0

Detect voltage level is low

#1 : 1

Detect voltage level is high

End of enumeration elements list.

TAMP2DBEN : Tamper 2 De-bounce Enable Bit
bits : 18 - 18 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 2 de-bounce Disabled

#1 : 1

Tamper 2 de-bounce Enabled

End of enumeration elements list.

TAMP3EN : Tamper 3 Detect Enable Bit\nNote1: The reference is RTC-clock. Tamper detector need sync 2 ~ 3 RTC-clock.
bits : 20 - 20 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 3 detect Disabled

#1 : 1

Tamper 3 detect Enabled

End of enumeration elements list.

TAMP3LV : Tamper 3 Level\nThis bit depends on level attribute of tamper pin for static tamper detection.
bits : 21 - 21 (1 bit)
access : read-write

Enumeration:

#0 : 0

Detect voltage level is low

#1 : 1

Detect voltage level is high

End of enumeration elements list.

TAMP3DBEN : Tamper 3 De-bounce Enable Bit
bits : 22 - 22 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 3 de-bounce Disabled

#1 : 1

Tamper 3 de-bounce Enabled

End of enumeration elements list.

DYNPR1EN : Dynamic Pair 1 Enable Bit
bits : 23 - 23 (1 bit)
access : read-write

Enumeration:

#0 : 0

Static detect

#1 : 1

Dynamic detect

End of enumeration elements list.

TAMP4EN : Tamper4 Detect Enable Bit\nNote1: The reference is RTC-clock. Tamper detector need sync 2 ~ 3 RTC-clock.
bits : 24 - 24 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 4 detect Disabled

#1 : 1

Tamper 4 detect Enabled

End of enumeration elements list.

TAMP4LV : Tamper 4 Level\nThis bit depends on level attribute of tamper pin for static tamper detection.
bits : 25 - 25 (1 bit)
access : read-write

Enumeration:

#0 : 0

Detect voltage level is low

#1 : 1

Detect voltage level is high

End of enumeration elements list.

TAMP4DBEN : Tamper 4 De-bounce Enable Bit
bits : 26 - 26 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 4 de-bounce Disabled

#1 : 1

Tamper 4 de-bounce Enabled

End of enumeration elements list.

TAMP5EN : Tamper 5 Detect Enable Bit\nNote: The reference is RTC-clock. Tamper detector need sync 2 ~ 3 RTC-clock.
bits : 28 - 28 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 5 detect Disabled

#1 : 1

Tamper 5 detect Enabled

End of enumeration elements list.

TAMP5LV : Tamper 5 Level\nThis bit depends on level attribute of tamper pin for static tamper detection.
bits : 29 - 29 (1 bit)
access : read-write

Enumeration:

#0 : 0

Detect voltage level is low

#1 : 1

Detect voltage level is high

End of enumeration elements list.

TAMP5DBEN : Tamper 5 De-bounce Enable Bit
bits : 30 - 30 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 5 de-bounce Disabled

#1 : 1

Tamper 5 de-bounce Enabled

End of enumeration elements list.

DYNPR2EN : Dynamic Pair 2 Enable Bit
bits : 31 - 31 (1 bit)
access : read-write

Enumeration:

#0 : 0

Static detect

#1 : 1

Dynamic detect

End of enumeration elements list.


RTC_TAMPSEED (TAMPSEED)

RTC Tamper Dynamic Seed Register
address_offset : 0x128 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_TAMPSEED RTC_TAMPSEED read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SEED

SEED : Seed Value
bits : 0 - 31 (32 bit)
access : read-write


RTC_TAMPTIME (TAMPTIME)

RTC Tamper Time Register
address_offset : 0x130 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

RTC_TAMPTIME RTC_TAMPTIME read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SEC TENSEC MIN TENMIN HR TENHR

SEC : 1-Sec Time Digit of TAMPER Time (0~9)
bits : 0 - 3 (4 bit)
access : read-only

TENSEC : 10-Sec Time Digit of TAMPER Time (0~5)
bits : 4 - 6 (3 bit)
access : read-only

MIN : 1-Min Time Digit of TAMPER Time (0~9)
bits : 8 - 11 (4 bit)
access : read-only

TENMIN : 10-Min Time Digit of TAMPER Time (0~5)
bits : 12 - 14 (3 bit)
access : read-only

HR : 1-Hour Time Digit of TAMPER Time (0~9)
bits : 16 - 19 (4 bit)
access : read-only

TENHR : 10-hour Time Digit of TAMPER Time (0~2) \nNote: 24-hour time scale only.
bits : 20 - 21 (2 bit)
access : read-only


RTC_TAMPCAL (TAMPCAL)

RTC Tamper Calendar Register
address_offset : 0x134 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

RTC_TAMPCAL RTC_TAMPCAL read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DAY TENDAY MON TENMON YEAR TENYEAR

DAY : 1-Day Calendar Digit of TAMPER Calendar (0~9)
bits : 0 - 3 (4 bit)
access : read-only

TENDAY : 10-Day Calendar Digit of TAMPER Calendar (0~3)
bits : 4 - 5 (2 bit)
access : read-only

MON : 1-Month Calendar Digit of TAMPER Calendar (0~9)
bits : 8 - 11 (4 bit)
access : read-only

TENMON : 10-Month Calendar Digit of TAMPER Calendar (0~1)
bits : 12 - 12 (1 bit)
access : read-only

YEAR : 1-Year Calendar Digit of TAMPER Calendar (0~9)
bits : 16 - 19 (4 bit)
access : read-only

TENYEAR : 10-Year Calendar Digit of TAMPER Calendar (0~9)
bits : 20 - 23 (4 bit)
access : read-only


RTC_CLKFMT (CLKFMT)

RTC Time Scale Selection Register
address_offset : 0x14 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_CLKFMT RTC_CLKFMT read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 _24HEN

_24HEN : 24-hour / 12-hour Time Scale Selection\nIndicates that RTC_TIME and RTC_TALM are in 24-hour time scale or 12-hour time scale
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

12-hour time scale with AM and PM indication selected

#1 : 1

24-hour time scale selected

End of enumeration elements list.


RTC_WEEKDAY (WEEKDAY)

RTC Day of the Week Register
address_offset : 0x18 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_WEEKDAY RTC_WEEKDAY read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 WEEKDAY

WEEKDAY : Day of the Week Register
bits : 0 - 2 (3 bit)
access : read-write

Enumeration:

#000 : 0

Sunday

#001 : 1

Monday

#010 : 2

Tuesday

#011 : 3

Wednesday

#100 : 4

Thursday

#101 : 5

Friday

#110 : 6

Saturday

#111 : 7

Reserved.

End of enumeration elements list.


RTC_TALM (TALM)

RTC Time Alarm Register
address_offset : 0x1C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_TALM RTC_TALM read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SEC TENSEC MIN TENMIN HR TENHR

SEC : 1-Sec Time Digit of Alarm Setting (0~9)
bits : 0 - 3 (4 bit)
access : read-write

TENSEC : 10-Sec Time Digit of Alarm Setting (0~5)
bits : 4 - 6 (3 bit)
access : read-write

MIN : 1-Min Time Digit of Alarm Setting (0~9)
bits : 8 - 11 (4 bit)
access : read-write

TENMIN : 10-Min Time Digit of Alarm Setting (0~5)
bits : 12 - 14 (3 bit)
access : read-write

HR : 1-Hour Time Digit of Alarm Setting (0~9)
bits : 16 - 19 (4 bit)
access : read-write

TENHR : 10-Hour Time Digit of Alarm Setting (0~2)When RTC runs as 12-hour time scale mode, RTC_TIME[21] (the high bit of TENHR[1:0]) means AM/PM indication (If RTC_TIME[21] is 1, it indicates PM time message.)
bits : 20 - 21 (2 bit)
access : read-write


RTC_CALM (CALM)

RTC Calendar Alarm Register
address_offset : 0x20 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_CALM RTC_CALM read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DAY TENDAY MON TENMON YEAR TENYEAR

DAY : 1-Day Calendar Digit of Alarm Setting (0~9)
bits : 0 - 3 (4 bit)
access : read-write

TENDAY : 10-Day Calendar Digit of Alarm Setting (0~3)
bits : 4 - 5 (2 bit)
access : read-write

MON : 1-Month Calendar Digit of Alarm Setting (0~9)
bits : 8 - 11 (4 bit)
access : read-write

TENMON : 10-Month Calendar Digit of Alarm Setting (0~1)
bits : 12 - 12 (1 bit)
access : read-write

YEAR : 1-Year Calendar Digit of Alarm Setting (0~9)
bits : 16 - 19 (4 bit)
access : read-write

TENYEAR : 10-Year Calendar Digit of Alarm Setting (0~9)
bits : 20 - 23 (4 bit)
access : read-write


RTC_LEAPYEAR (LEAPYEAR)

RTC Leap Year Indicator Register
address_offset : 0x24 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

RTC_LEAPYEAR RTC_LEAPYEAR read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LEAPYEAR

LEAPYEAR : Leap Year Indication (Read Only)
bits : 0 - 0 (1 bit)
access : read-only

Enumeration:

#0 : 0

This year is not a leap year

#1 : 1

This year is leap year

End of enumeration elements list.


RTC_INTEN (INTEN)

RTC Interrupt Enable Register
address_offset : 0x28 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_INTEN RTC_INTEN read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ALMIEN TICKIEN TAMP0IEN TAMP1IEN TAMP2IEN TAMP3IEN TAMP4IEN TAMP5IEN

ALMIEN : Alarm Interrupt Enable Bit\nSet ALMIEN to 1 can also enable chip wake-up function when RTC alarm interrupt event is generated.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

RTC Alarm interrupt Disabled

#1 : 1

RTC Alarm interrupt Enabled

End of enumeration elements list.

TICKIEN : Time Tick Interrupt Enable Bit\nSet TICKIEN to 1 can also enable chip wake-up function when RTC tick interrupt event is generated.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

RTC Time Tick interrupt Disabled

#1 : 1

RTC Time Tick interrupt Enabled

End of enumeration elements list.

TAMP0IEN : Tamper 0 Interrupt Enable Bit\nSet TAMP0IEN to 1 can also enable chip wake-up function when tamper 0 interrupt event is generated.
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 0 interrupt Disabled

#1 : 1

Tamper 0 interrupt Enabled

End of enumeration elements list.

TAMP1IEN : Tamper 1 or Pair 0 Interrupt Enable Bit\nSet TAMP1IEN to 1 can also enable chip wake-up function when tamper 1 interrupt event is generated.
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 1 or Pair 0 interrupt Disabled

#1 : 1

Tamper 1 or Pair 0 interrupt Enabled

End of enumeration elements list.

TAMP2IEN : Tamper 2 Interrupt Enable Bit\nSet TAMP2IEN to 1 can also enable chip wake-up function when tamper 2 interrupt event is generated.
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 2 interrupt Disabled

#1 : 1

Tamper 2 interrupt Enabled

End of enumeration elements list.

TAMP3IEN : Tamper 3 or Pair 1 Interrupt Enable Bit\nSet TAMP3IEN to 1 can also enable chip wake-up function when tamper 3 interrupt event is generated.
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 3 or Pair 1 interrupt Disabled

#1 : 1

Tamper 3 or Pair 1 interrupt Enabled

End of enumeration elements list.

TAMP4IEN : Tamper 4 Interrupt Enable Bit\nSet TAMP4IEN to 1 can also enable chip wake-up function when tamper 4 interrupt event is generated.
bits : 12 - 12 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 4 interrupt Disabled

#1 : 1

Tamper 4 interrupt Enabled

End of enumeration elements list.

TAMP5IEN : Tamper 5 or Pair 2 Interrupt Enable Bit\nSet TAMP5IEN to 1 can also enable chip wake-up function when tamper 5 interrupt event is generated.
bits : 13 - 13 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tamper 5 or Pair 2 interrupt Disabled

#1 : 1

Tamper 5 or Pair 2 interrupt Enabled

End of enumeration elements list.


RTC_INTSTS (INTSTS)

RTC Interrupt Status Register
address_offset : 0x2C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_INTSTS RTC_INTSTS read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ALMIF TICKIF TAMP0IF TAMP1IF TAMP2IF TAMP3IF TAMP4IF TAMP5IF

ALMIF : RTC Alarm Interrupt Flag\nNote: Write 1 to clear this bit.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Alarm condition is not matched

#1 : 1

Alarm condition is matched

End of enumeration elements list.

TICKIF : RTC Time Tick Interrupt Flag\nNote: Write 1 to clear this bit.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Tick condition did not occur

#1 : 1

Tick condition occurred

End of enumeration elements list.

TAMP0IF : Tamper 0 Interrupt Flag\nThis bit is set when TAMP0_PIN detected level non-equal TAMP0LV (RTC_TAMPCTL[9]).\nNote1: Write 1 to clear this bit.\nNote2: Clear all TAPMxIF will clear RTC_TAMPTIME and RTC_TAMPCAL automatically.
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

No Tamper 0 interrupt flag is generated

#1 : 1

Tamper 0 interrupt flag is generated

End of enumeration elements list.

TAMP1IF : Tamper 1 or Pair 0 Interrupt Flag\nThis bit is set when TAMP1_PIN detected level non-equal TAMP1LV (RTC_TAMPCTL[13]) or TAMP0_PIN and TAMP1_PIN disconnected during DYNPR0EN (RTC_TAMPCTL[15]) is activated.\nNote1: Write 1 to clear this bit.\nNote2: Clear all TAPMxIF will clear RTC_TAMPTIME and RTC_TAMPCAL automatically.
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

No Tamper 1 or Pair 0 interrupt flag is generated

#1 : 1

Tamper 1 or Pair 0 interrupt flag is generated

End of enumeration elements list.

TAMP2IF : Tamper 2 Interrupt Flag\nThis bit is set when TAMP2_PIN detected level non-equal TAMP2LV (RTC_TAMPCTL[17]).\nNote1: Write 1 to clear this bit.\nNote2: Clear all TAPMxIF will clear RTC_TAMPTIME and RTC_TAMPCAL automatically.
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

No Tamper 2 interrupt flag is generated

#1 : 1

Tamper 2 interrupt flag is generated

End of enumeration elements list.

TAMP3IF : Tamper 3 or Pair 1 Interrupt Flag\nThis bit is set when TAMP3_PIN detected level non-equal TAMP3LV (RTC_TAMPCTL[21]) or TAMP2_PIN and TAMP3_PIN disconnected during DYNPR1EN (RTC_TAMPCTL[23]) is activated or TAMP0_PIN and TAMP3_PIN disconnected during DYNPR1EN (RTC_TAMPCTL[23]) and DYN1ISS (RTC_TAMPCTL[0]) are activated.\nNote1: Write 1 to clear this bit.\nNote2: Clear all TAPMxIF will clear RTC_TAMPTIME and RTC_TAMPCAL automatically.
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

No Tamper 3 or Pair 1 interrupt flag is generated

#1 : 1

Tamper 3 or Pair 1 interrupt flag is generated

End of enumeration elements list.

TAMP4IF : Tamper 4 Interrupt Flag\nThis bit is set when TAMP4_PIN detected level non-equal TAMP4LV (RTC_TAMPCTL[25]).\nNote1: Write 1 to clear this bit.\nNote2: Clear all TAPMxIF will clear RTC_TAMPTIME and RTC_TAMPCAL automatically.
bits : 12 - 12 (1 bit)
access : read-write

Enumeration:

#0 : 0

No Tamper 4 interrupt flag is generated

#1 : 1

Tamper 4 interrupt flag is generated

End of enumeration elements list.

TAMP5IF : Tamper 5 or Pair 2 Interrupt Flag\nThis bit is set when TAMP5_PIN detected level non-equal TAMP5LV (RTC_TAMPCTL[29]) or TAMP4_PIN and TAMP5_PIN disconnected during DYNPR2EN (RTC_TAMPCTL[31]) is activated or TAMP0_PIN and TAMP5_PIN disconnected during DYNPR2EN (RTC_TAMPCTL[31]) and DYN2ISS (RTC_TAMPCTL[1]) are activated.\nNote1: Write 1 to clear this bit.\nNote2: Clear all TAPMxIF will clear RTC_TAMPTIME and RTC_TAMPCAL automatically.
bits : 13 - 13 (1 bit)
access : read-write

Enumeration:

#0 : 0

No Tamper 5 or Pair 2 interrupt flag is generated

#1 : 1

Tamper 5 or Pair 2 interrupt flag is generated

End of enumeration elements list.


RTC_TICK (TICK)

RTC Time Tick Register
address_offset : 0x30 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_TICK RTC_TICK read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TICK

TICK : Time Tick Register\nThese bits are used to select RTC time tick period for Periodic Time Tick Interrupt request. \nNote: This register can be read back after the RTC register access enable bit RWENF (RTC_RWEN[16]) is active.
bits : 0 - 2 (3 bit)
access : read-write

Enumeration:

#000 : 0

Time tick is 1 second

#001 : 1

Time tick is 1/2 second

#010 : 2

Time tick is 1/4 second

#011 : 3

Time tick is 1/8 second

#100 : 4

Time tick is 1/16 second

#101 : 5

Time tick is 1/32 second

#110 : 6

Time tick is 1/64 second

#111 : 7

Time tick is 1/128 second

End of enumeration elements list.


RTC_TAMSK (TAMSK)

RTC Time Alarm Mask Register
address_offset : 0x34 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_TAMSK RTC_TAMSK read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MSEC MTENSEC MMIN MTENMIN MHR MTENHR

MSEC : Mask 1-Sec Time Digit of Alarm Setting (0~9)
bits : 0 - 0 (1 bit)
access : read-write

MTENSEC : Mask 10-Sec Time Digit of Alarm Setting (0~5)
bits : 1 - 1 (1 bit)
access : read-write

MMIN : Mask 1-Min Time Digit of Alarm Setting (0~9)
bits : 2 - 2 (1 bit)
access : read-write

MTENMIN : Mask 10-Min Time Digit of Alarm Setting (0~5)
bits : 3 - 3 (1 bit)
access : read-write

MHR : Mask 1-Hour Time Digit of Alarm Setting (0~9)
bits : 4 - 4 (1 bit)
access : read-write

MTENHR : Mask 10-Hour Time Digit of Alarm Setting (0~2)
bits : 5 - 5 (1 bit)
access : read-write


RTC_CAMSK (CAMSK)

RTC Calendar Alarm Mask Register
address_offset : 0x38 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_CAMSK RTC_CAMSK read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MDAY MTENDAY MMON MTENMON MYEAR MTENYEAR

MDAY : Mask 1-Day Calendar Digit of Alarm Setting (0~9)
bits : 0 - 0 (1 bit)
access : read-write

MTENDAY : Mask 10-Day Calendar Digit of Alarm Setting (0~3)
bits : 1 - 1 (1 bit)
access : read-write

MMON : Mask 1-Month Calendar Digit of Alarm Setting (0~9)
bits : 2 - 2 (1 bit)
access : read-write

MTENMON : Mask 10-Month Calendar Digit of Alarm Setting (0~1)
bits : 3 - 3 (1 bit)
access : read-write

MYEAR : Mask 1-Year Calendar Digit of Alarm Setting (0~9)
bits : 4 - 4 (1 bit)
access : read-write

MTENYEAR : Mask 10-Year Calendar Digit of Alarm Setting (0~9)
bits : 5 - 5 (1 bit)
access : read-write


RTC_SPRCTL (SPRCTL)

RTC Spare Functional Control Register
address_offset : 0x3C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPRCTL RTC_SPRCTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SPRRWEN SPRCSTS

SPRRWEN : Spare Register Enable Bit\nNote: When spare register is disabled, RTC_SPR0 ~ RTC_SPR19 cannot be accessed.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Spare register Disabled

#1 : 1

Spare register Enabled

End of enumeration elements list.

SPRCSTS : SPR Clear Flag \nThis bit indicates if the RTC_SPR0 ~RTC_SPR19 content is cleared when specify tamper event is detected.\nNote1: Write 1 to clear this bit.\nNote2: This bit keeps 1 when RTC_INTSTS[13:8] is not equal to 0.
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Spare register content is not cleared

#1 : 1

Spare register content is cleared

End of enumeration elements list.


RTC_RWEN (RWEN)

RTC Access Enable Register
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_RWEN RTC_RWEN read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RWENF RTCBUSY

RWENF : RTC Register Access Enable Flag (Read Only)\nNote: RWENF will be masked to 0 during RTCBUSY is 1, and first turn on RTCCKEN (CLK_APBCLK[1]) also.
bits : 16 - 16 (1 bit)
access : read-only

Enumeration:

#0 : 0

RTC register read/write Disabled

#1 : 1

RTC register read/write Enabled

End of enumeration elements list.

RTCBUSY : RTC Write Busy Flag\nThis bit indicates RTC registers are writable or not.\nNote: RTCBUSY flag will be set when execute write RTC register command exceed 6 times within 1120 PCLK cycles.
bits : 24 - 24 (1 bit)
access : read-write

Enumeration:

#0 : 0

RTC registers are writable

#1 : 1

RTC registers can't be written. RTC is under Busy Status

End of enumeration elements list.


RTC_SPR0 (SPR0)

RTC Spare Register 0
address_offset : 0x40 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR0 RTC_SPR0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SPARE

SPARE : Spare Register\nThis field is used to store back-up information defined by user.\nThis field will be cleared by hardware automatically once a tamper pin event is detected.\nBefore storing back-up information in to RTC_SPRx register, user should check REWNF (RTC_RWEN[16]) is enabled.
bits : 0 - 31 (32 bit)
access : read-write


RTC_SPR1 (SPR1)

RTC Spare Register 1
address_offset : 0x44 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR1 RTC_SPR1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR2 (SPR2)

RTC Spare Register 2
address_offset : 0x48 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR2 RTC_SPR2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR3 (SPR3)

RTC Spare Register 3
address_offset : 0x4C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR3 RTC_SPR3 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR4 (SPR4)

RTC Spare Register 4
address_offset : 0x50 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR4 RTC_SPR4 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR5 (SPR5)

RTC Spare Register 5
address_offset : 0x54 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR5 RTC_SPR5 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR6 (SPR6)

RTC Spare Register 6
address_offset : 0x58 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR6 RTC_SPR6 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR7 (SPR7)

RTC Spare Register 7
address_offset : 0x5C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR7 RTC_SPR7 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR8 (SPR8)

RTC Spare Register 8
address_offset : 0x60 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR8 RTC_SPR8 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR9 (SPR9)

RTC Spare Register 9
address_offset : 0x64 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR9 RTC_SPR9 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR10 (SPR10)

RTC Spare Register 10
address_offset : 0x68 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR10 RTC_SPR10 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR11 (SPR11)

RTC Spare Register 11
address_offset : 0x6C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR11 RTC_SPR11 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR12 (SPR12)

RTC Spare Register 12
address_offset : 0x70 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR12 RTC_SPR12 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR13 (SPR13)

RTC Spare Register 13
address_offset : 0x74 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR13 RTC_SPR13 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR14 (SPR14)

RTC Spare Register 14
address_offset : 0x78 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR14 RTC_SPR14 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR15 (SPR15)

RTC Spare Register 15
address_offset : 0x7C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR15 RTC_SPR15 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_FREQADJ (FREQADJ)

RTC Frequency Compensation Register
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_FREQADJ RTC_FREQADJ read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FREQADJ

FREQADJ : Frequency Compensation Register\nUser must to get actual LXT frequency for RTC application.\nNote: This formula is suitable only when RTC clock source is from LXT, RTCSEL (CLK_CLKSEL3[8]) is 0.
bits : 0 - 21 (22 bit)
access : read-write


RTC_SPR16 (SPR16)

RTC Spare Register 16
address_offset : 0x80 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR16 RTC_SPR16 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR17 (SPR17)

RTC Spare Register 17
address_offset : 0x84 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR17 RTC_SPR17 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR18 (SPR18)

RTC Spare Register 18
address_offset : 0x88 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR18 RTC_SPR18 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_SPR19 (SPR19)

RTC Spare Register 19
address_offset : 0x8C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_SPR19 RTC_SPR19 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

RTC_TIME (TIME)

RTC Time Loading Register
address_offset : 0xC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RTC_TIME RTC_TIME read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SEC TENSEC MIN TENMIN HR TENHR

SEC : 1-Sec Time Digit (0~9)
bits : 0 - 3 (4 bit)
access : read-write

TENSEC : 10-Sec Time Digit (0~5)
bits : 4 - 6 (3 bit)
access : read-write

MIN : 1-Min Time Digit (0~9)
bits : 8 - 11 (4 bit)
access : read-write

TENMIN : 10-Min Time Digit (0~5)
bits : 12 - 14 (3 bit)
access : read-write

HR : 1-Hour Time Digit (0~9)
bits : 16 - 19 (4 bit)
access : read-write

TENHR : 10-Hour Time Digit (0~2)When RTC runs as 12-hour time scale mode, RTC_TIME[21] (the high bit of TENHR[1:0]) means AM/PM indication (If RTC_TIME[21] is 1, it indicates PM time message.)
bits : 20 - 21 (2 bit)
access : read-write



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.