BAT32G1x9 user manual | Chapter 11 Real-time clock
460 / 1149
Rev.1.02
11.4.5
1Hz output of the real-time clock
Figure 11-24 Setup steps for the 1Hz output
Start
RTCE=0
设定
SEC
Configure Port
RCLOE1=1
RTCE=1
start output from
RTC1HZ pin
configure to stop counting
set Pxx and PMxx to 0.
allow RTC1HZ pin output (1Hz).
configure start counting
Note 1
The
RTCEN
position
"
1"
must first be
placed in the oscillation stable state of the
counting clock (f
SUB
).
2. Some packages do not support the
1Hz
output function of real-time
clocks.