Rev. 5.00, 09/03, page 408 of 760
13.1.2 Block Diagram
Figure 13.1 shows a block diagram of the RTC.
Module bus
RTC
Internal bus
Interrupt
control
circuit
Prescaler
(÷ 2)
RTCCLK
Bus
interface
Carry
detection
circuit
ATI
PRI
CUI
Legend
R64CNT: 64 Hz counter
RSECCNT: Second counter
RMINCNT: Minute counter
RHRCNT: Hour counter
RWKCNT: Day-of-week counter
RDAYCNT: Day counter
RMONCNT: Month counter
RYRCNT: Year counter
RSECAR: Second alarm register
RMINAR: Minute alarm register
RHRAR: Hour alarm register
RWKAR: Day-of-week alarm register
RDAYAR: Day alarm register
RMONAR: Month alarm register
RCR1: RTC control register 1
RCR2: RTC control re
g
ister 2
R64CNT
Reset
RSECCNT
RMINCNT
RHRCNT
RWKCNT
16.384 kHz
RDAYCNT
RMONCNT
RYRCNT
Comparator
RSECAR
RMINAR
RHRAR
RWKAR
RDAYAR
RCR1
RCR2
30-
second
ADJ
EXTAL2
32.768 kHz
128 Hz
XTAL2
Externally
connected
circuit
Oscillator
circuit
Prescaler
(÷ 128)
RMONAR
Figure 13.1 Block Diagram of RTC