GD32W51x User Manual
421
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31
OUT2EN
RTC_OUT pin select
0: RTC_OUT output to PC15
1: RTC_OUT output to PA3 or PA8
30:24
Reserved
Must be kept at reset value.
23
COEN
Calibration output enable
0: Disable calibration output
1: Enable calibration output
22:21
OS[1:0]
Output selection
This bit is used for selecting flag source to output
0x0: Disable output RTC_ALARM
0x1: Enable alarm0 flag output
0x2: Enable alarm1 flag output
0x3: Enable w akeup flag output
20
OPOL
Output polarity
This bit is used to invert output RTC_ALARM
0: Disable invert output RTC_ALARM
1: Enable invert output RTC_ALARM
19
COS
Calibration output selection
Valid only w hen COEN=1 and prescalers are at default values
0: Calibration output is 512 Hz
1: Calibration output is 1Hz
18
DSM
Daylight saving mark
This bit is flexible used by softw are. Often can be used to recording the daylight
saving hour adjustment.
17
S1H
Subtract 1 hour(w inter time change)
One hour w ill be subtracted from current time if it is not 0
0: No effect
1: 1 hour w ill be subtracted at next second change time.
16
A1H
Add 1 hour(summer time change)
One hour w ill be added from current time
0: No effect
1: 1 hour w ill be added at next second change time
15
TSIE
Time-stamp interrupt enable
0: Disable time-stamp interrupt
1: Enable time-stamp interrupt