Philips Semiconductors
User’s Manual - Preliminary -
P89LPC901/902/903
Table of Contents
2003 Dec 8 3
Mode 6 - P89LPC901 .............................................................................. 47
Timer Overflow toggle output - P89LPC901............................................ 49
6. Real-Time Clock/System Timer............................................................ 51
Real-time Clock Source........................................................................... 51
Changing RTCS1-0 ................................................................................. 53
Real-time Clock Interrupt/Wake Up ......................................................... 53
Reset Sources Affecting the Real-time Clock.......................................... 53
7. Power Monitoring Functions ................................................................. 55
Brownout Detection ................................................................................. 55
Power-On Detection ................................................................................ 56
Power Reduction Modes.......................................................................... 57
8. UART (P89LPC903) ............................................................................. 61
Mode 0..................................................................................................... 61
Mode 1..................................................................................................... 61
Mode 2..................................................................................................... 61
Mode 3..................................................................................................... 61
SFR Space .............................................................................................. 62
Baud Rate Generator and Selection........................................................ 62
Updating the BRGR1 and BRGR0 SFRs................................................. 62
Framing Error........................................................................................... 63
Break Detect............................................................................................ 63
More About UART Mode 0 ...................................................................... 65
More About UART Mode 1 ...................................................................... 66
More About UART Modes 2 and 3........................................................... 67
Framing Error and RI in Modes 2 and 3 with SM2 = 1 ............................ 67
Break Detect............................................................................................ 67
Double Buffering...................................................................................... 68
Double Buffering in Different Modes........................................................ 68
Transmit Interrupts with Double Buffering Enabled (Modes 1, 2 and 3) .. 68
The 9th Bit (Bit 8) in Double Buffering (Modes 1, 2 and 3)...................... 69
Multiprocessor Communications.............................................................. 70
Automatic Address Recognition............................................................... 70
9. Reset .................................................................................................... 73
Power-On reset code execution .............................................................. 73
10. Analog Comparators........................................................................... 75
Comparator Configuration ....................................................................... 75
Internal Reference Voltage...................................................................... 77
Comparator Interrupt ............................................................................... 77
Comparator and Power Reduction Modes............................................... 78
Comparator Configuration Example ........................................................ 78
11. Keypad Interrupt (KBI)........................................................................ 79
12. Watchdog Timer ................................................................................. 83
Watchdog Function.................................................................................. 83