English
Language : 

XC164KM Datasheet, PDF (34/62 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core
XC164KM
Derivatives
Functional Description
3.7
Real Time Clock
The Real Time Clock (RTC) module of the XC164KM is directly clocked via a separate
clock driver with the prescaled on-chip main oscillator frequency (fRTC = fOSCm/32). It is
therefore independent from the selected clock generation mode of the XC164KM.
The RTC basically consists of a chain of divider blocks:
• A selectable 8:1 divider (on - off)
• The reloadable 16-bit timer T14
• The 32-bit RTC timer block (accessible via registers RTCH and RTCL), made of:
– a reloadable 10-bit timer
– a reloadable 6-bit timer
– a reloadable 6-bit timer
– a reloadable 10-bit timer
All timers count up. Each timer can generate an interrupt request. All requests are
combined to a common node request.
fRTC
:8
MUX
RUN
PRE
T14REL
Interrupt Sub Node
RTCINT
CNT
INT0
CNT
INT1
CNT
INT2
CNT
INT3
10 Bits
REL-Register
6 Bits 6 Bits
10 Bits
fCNT
T14
T14-Register
10 Bits
6 Bits 6 Bits
CNT-Register
10 Bits
MCB05568
Figure 3-6 RTC Block Diagram
Note: The registers associated with the RTC are not affected by a reset in order to
maintain the correct system time even when intermediate resets are executed.
The RTC module can be used for different purposes:
Data Sheet
32
V1.0, 2005-11