English
Language : 

XC164-16 Datasheet, PDF (74/417 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC164-16 Derivatives
Peripheral Units (Vol. 2 of 2)
Real Time Clock
15.2
RTC Run Control
If the RTC shall operate bit RUN in register RTC_CON must be set (default after reset).
Bit RUN can be cleared, for example, to exclude certain operation phases from time
keeping. The RTC can be completely disabled by setting the corresponding bit RTCDIS
in register SYSCON3.
Note: A valid count clock is required for proper RTC operation, of course.
A reset for the RTC is triggered via software by setting bit RTCRST in register
SYSCON0. In this case all RTC registers are set to their initial values and bit RTCRST
is cleared automatically. A normal system reset does not affect the RTC registers and its
operation (RTC_IC will be reset, however). The initialization software must ensure the
proper RTC operating mode.
The RTC control register RTC_CON selects the basic operation of the RTC module.
RTC_CON
Control Register
ESFR (F110H/88H)
15 14 13 12 11 10 9 8 7 6 5
ACC
POS
-
-
-
-
-
-
-
-
-
-
rh - - - - - - - - - -
Reset Value: 8003H
43210
-
T14
INC
T14
DEC
PRE RUN
- rwh rwh rw rw
Field
ACCPOS
T14INC
T14DEC
Bits Type Description
15
rh
RTC Register Access Possible
0 No write access is possible, only
asynchronous reads
1 Registers can be read and written
3
rwh Increment Timer T14 Value
Setting this bit to 1 adds one count pulse upon the
next count event, thus incrementing T14.
This bit is cleared by hardware after incrementation.
2
rwh Decrement Timer T14 Value
Setting this bit to 1 suppresses the next count event,
thus decrementing T14.
This bit is cleared by hardware after decrementation.
User’s Manual
RTC_X41, V2.1
15-5
V2.1, 2004-03