Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
337
/
631
Bit field
Name
Description
14:0
SUBF[14:0]
Subtract a fraction of a second
There bits can only be written and read as zero.. Writing to this bit does not have an
impact when RTC_INITSTS.SHOPF=1. The value which is written to SUBF[14:0] is
added to the synchronous prescaler counter, and the clock will delay:
Delay (seconds) = SUBF[14:0] / (DIVS[14:0] + 1)
AD1S bit can be used together with the SUBF[14:0]bits:
Advance (seconds) = (1 - (SUBF[14:0] / (DIVS[14:0] + 1))).
Note: RTC_INITSTS.RSYF bit will be cleared when write SUBF[14:0]. When
RTC_INITSTS.RSYF=1, the shadow registers have been updated with the shifted time.
RTC Timestamp Time Register (RTC_TST)
Address offset: 0x30
Reset value: 0x0000 0000
Bit field
Name
Description
31:23
Reserved
Reserved, the reset value must be maintained
22
APM
AM/PM notation
0: AM or 24-hour clock
1: PM
21:20
HOT[1:0]
Describes the hour tens value in BCD format
19:16
HOU[3:0]
Describes the hour units value in BCD format
15
Reserved
Reserved, the reset value must be maintained
14:12
MIT[2:0]
Describes the minute tens value in BCD format
11:8
MIU[3:0]
Describes the minute units value in BCD format
7
Reserved
Reserved, the reset value must be maintained
6:4
SET[2:0]
Describes the second tens value in BCD format
3:0
SEU[3:0]
Describes the second units value in BCD format
RTC Timestamp Date Register (RTC_TSD)
Address offset: 0x34
Reset value: 0x0000 0000