Philips Semiconductors
User’s Manual - Preliminary -
P89LPC901/902/903
REAL-TIME CLOCK/SYSTEM TIMER
2003 Dec 8
53
Table 6-2: :Real-time Clock/System Timer Clock Source - P89LPC902/903
Changing RTCS1-0
RTCS1-0 cannot be changed if the RTC is currently enabled (RTCCON.0 =1). Setting RTCEN and updating RTCS1-0 may be
done in a single write to RTCCON. However, if RTCEN = 1, this bit must first be cleared before updating RTCS1-0
Real-time Clock Interrupt/Wake Up
If ERTC (RTCCON.1), EWDRT (IEN0.6) and EA (IEN0.7) are set to ’1’, RTCF can be used as an interrupt source. This interrupt
vector is shared with the watchdog timer. It can also be a source to wake up the device.
Reset Sources Affecting the Real-time Clock
Only power-on reset will reset the Real-time Clock and its associated SFRs to their default state.
FOSC2
(UCFG1.2)
FOSC1
(UCFG1.1)
FOSC0
(UCFG1.0)
RTCS1:0
CCLK Frequency
RTC Clock Frequency
0
0
0
x
undefined
0
0
1
0
1
0
0
1
1
00
RC Oscillator/DIVM
undefined
01
10
11
RC Oscillator/DIVM (CCLK)
1
0
0
00
WDT Oscillator/DIVM
undefined
01
10
11
WDT Oscillator/DIVM
(CCLK)
1
0
1
xx
undefined
1
1
0
1
1
1
Содержание P89LPC901
Страница 26: ...Philips Semiconductors User s Manual Preliminary P89LPC901 902 903 GENERAL DESCRIPTION 2003 Dec 8 26 ...
Страница 34: ...Philips Semiconductors User s Manual Preliminary P89LPC901 902 903 CLOCKS 2003 Dec 8 34 ...
Страница 44: ...Philips Semiconductors User s Manual Preliminary P89LPC901 902 903 I O PORTS 2003 Dec 8 44 ...
Страница 50: ...Philips Semiconductors User s Manual Preliminary P89LPC901 902 903 TIMERS 0 AND 1 2003 Dec 8 50 ...
Страница 60: ...Philips Semiconductors User s Manual Preliminary P89LPC901 902 903 POWER MONITORING FUNCTIONS 2003 Dec 8 60 ...
Страница 72: ...Philips Semiconductors User s Manual Preliminary P89LPC901 902 903 UART P89LPC903 2003 Dec 8 72 ...
Страница 82: ...Philips Semiconductors User s Manual Preliminary P89LPC901 902 903 KEYPAD INTERRUPT KBI 2003 Dec 8 82 ...
Страница 90: ...Philips Semiconductors User s Manual Preliminary P89LPC901 902 903 WATCHDOG TIMER 2003 Dec 8 90 ...
Страница 108: ...Philips Semiconductors User s Manual Preliminary P89LPC901 902 903 REVISION HISTORY 2003 Dec 8 108 ...