Philips P89LPC902 Light Therapy Device User Manual


 
Philips Semiconductors
User’s Manual - Preliminary -
P89LPC901/902/903
Table of Contents
2003 Dec 8 2
Table of Contents
1. General Description................................................................................ 7
Pin Configurations ..................................................................................... 7
Product comparison................................................................................... 8
Pin Descriptions - P89LPC901 ................................................................ 12
Pin Descriptions - P89LPC902 ................................................................ 14
Pin Descriptions - P89LPC903 ................................................................ 15
Special Function Registers ...................................................................... 16
Special Function Registers Table - P89LPC901 ..................................... 16
Special Function Registers Table - P89LPC902 ..................................... 19
Special Function Registers Table - P89LPC903 ..................................... 22
Memory Organization .............................................................................. 25
2. Clocks................................................................................................... 27
Enhanced CPU........................................................................................ 27
Clock Definitions...................................................................................... 27
CPU Clock (OSCCLK)............................................................................. 27
Low Speed Oscillator Option - P89LPC901............................................. 27
Medium Speed Oscillator Option - P89LPC901 ...................................... 27
High Speed Oscillator Option - P89LPC901............................................ 27
Oscillator Option Selection- P89LPC901................................................. 28
Clock Output - P89LPC901 ..................................................................... 28
On-Chip RC oscillator Option .................................................................. 28
Watchdog Oscillator Option..................................................................... 29
External Clock Input Option - P89LPC901 .............................................. 29
CPU Clock (CCLK) Wakeup Delay.......................................................... 32
CPU Clock (CCLK) Modification: DIVM Register..................................... 32
Low Power Select (P89LPC901) ............................................................ 33
3. Interrupts .............................................................................................. 35
Interrupt Priority Structure........................................................................ 35
External Interrupt Inputs .......................................................................... 37
External Interrupt Pin Glitch Suppression................................................ 37
4. I/O Ports ............................................................................................... 39
Port Configurations.................................................................................. 39
Quasi-Bidirectional Output Configuration ................................................ 39
Open Drain Output Configuration ............................................................ 40
Input-Only Configuration.......................................................................... 41
Push-Pull Output Configuration ............................................................... 41
Port 0 Analog Functions .......................................................................... 41
Additional Port Features .......................................................................... 42
5. Timers 0 and 1...................................................................................... 45
Mode 0..................................................................................................... 46
Mode 2..................................................................................................... 46
Mode 3..................................................................................................... 47