Nations Technologies Inc.
Tel
:
+86-755-86309900
:
info@nationstech.com
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
328
/
631
Bit field
Name
Description
11:8
MOU[3:0]
Describes the month units value in BCD format
7:6
Reserved
Reserved, the reset value must be maintained
5:4
DAT[1:0]
Describes the date tens value in BCD format
3:0
DAU[3:0]
Describes the date units value in BCD format
RTC Control Register (RTC_CTRL)
Address offset: 0x08
Reset value: 0x0000 0000
Bit field
Name
Description
31:24
Reserved
Reserved, the reset value must be maintained
23
COEN
Calibration output enable
This bit controls RTC_CALIB output
0: Disable calibration output
1: Enable calibration output
22:21
OUTSEL[1:0]
Output selection
These bits are used to select the alarm/wakeup output
00: Disable output
01: Enable Alarm A output
10: Enable Alarm B output
11: Enable Wakeup output
20
OPOL
Output polarity bit
This bit is used to configure the polarity of output.
0: Outputs high level when the selected output triggers(see OUTSEL[1:0])
1: Outputs low level when the selected output triggers(see OUTSEL[1:0])
19
CALOSEL
Calibration output selection
When RTC_CTRL.COEN=1, RTCCLK = 32.768KHz and prescale at their default value
(RTC_PRE.DIVA[6:0]=127 and RTC_PRE.DIVS[14:0]=255).
0: Calibration output is 256 Hz
1: Calibration output is 1 Hz
18
BAKP
Daylight saving time record
This bit is written by the user
0: Not record daylight saving time
1: Record daylight saving time