![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 439](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609439.webp)
BAT32G1x9 user manual | Chapter 11 Real-time clock
439 / 1149
Rev.1.02
Figure 11-1 Block diagram of real-time clock
选
择
器
f
SUB
f
IL
f
MX
frequency division clock
f
HOCO
frequency division clock
RTCCL7,6,RTCCKS1,0
real time clock control register 1
real time clock control register 0
secondary system provide mode control
register (OSMC)
alarm week
register
(ALARMWW)
(7bits)
alarm hour
regsiter
(ALARMWH)
(6 bits)
alarm minute
register
(ALARMWM)
(7 bits)
same
year count
register
(YEAR)
(8 bits)
month
count
register
(MONTH)
(5 bits)
week count
regsiter
(WEEK)
(3 bits)
Day count
regsiter
(DAY)
(6 bits)
hour count
register
(HOUR)
(6 bits)
minute
count
regsiter
(MIN)
(7 bits)
second
count
regsiter
(SEC)
(7 bits)
wait control
internal count
regsiter
(16 bits)
countig enable/
disable circuit
clock
deviation
calibration
register
(SUBCUD)
(8 bits)
buffer
buffer
buffer
buffer
buffer
buffer
buffer
Internal bus
s
e
le
c
to
r
s
e
le
c
to
r
1 year
1 month
1 day
1 hour
1
minute
1
second
0.5
seconds
Note that only the fmx/fhoco
divider clock (after the week ≈32,768 KHz) or the subsystem clock
(f
SUB
=32.768 kHz) is
selected As a real-time clock, the year, month, day, day, hour, minute, and second counts can be made. When
selecting a low-speed internal oscillator clock (f
IL
=15kHz), only the fixed-cycle interrupt function can be used.
The fixed-period interrupt interval when f IL is selected is calculated using the following calculation: fixed period
(
value selected by
the RTCC0
register
)
f
SUB
/f
IL