
C8051T620/1/6/7 & C8051T320/1/2/3
4 Rev. 1.2
15.2.1.2. Bit Addressable Locations.............................................................. 90
15.2.1.3. Stack ............................................................................................ 90
15.2.2. External RAM.......................................................................................... 91
15.2.3. Accessing USB FIFO Space................................................................... 91
16. Special Function Registers................................................................................... 95
17. Interrupts.............................................................................................................. 101
17.1. MCU Interrupt Sources and Vectors.............................................................. 102
17.1.1. Interrupt Priorities.................................................................................. 102
17.1.2. Interrupt Latency................................................................................... 102
17.2. Interrupt Register Descriptions...................................................................... 102
17.3. INT0 and INT1 External Interrupt Sources.................................................... 110
18. Program Memory (EPROM)................................................................................. 112
18.1. Programming the EPROM Memory............................................................... 112
18.1.1. EPROM Programming over the C2 Interface........................................ 112
18.1.2. EPROM In-Application Programming.................................................... 113
18.2. Security Options............................................................................................ 114
18.3. EPROM Writing Guidelines........................................................................... 114
18.3.1. VDD Maintenance and the VDD monitor .............................................. 114
18.3.2. PSWE Maintenance.............................................................................. 115
18.3.3. System Clock........................................................................................ 115
18.4. Program Memory CRC.................................................................................. 115
18.4.1. Performing 32-bit CRCs on Full EPROM Content ................................ 115
18.4.2. Performing 16-bit CRCs on 256-Byte EPROM Blocks.......................... 115
19. Power Management Modes................................................................................. 118
19.1. Idle Mode....................................................................................................... 118
19.2. Stop Mode..................................................................................................... 119
19.3. Suspend Mode .............................................................................................. 119
20. Reset Sources...................................................................................................... 121
20.1. Power-On Reset............................................................................................ 122
20.2. Power-Fail Reset / VDD Monitor ................................................................... 122
20.3. External Reset............................................................................................... 124
20.4. Missing Clock Detector Reset ....................................................................... 124
20.5. Comparator0 Reset....................................................................................... 124
20.6. PCA Watchdog Timer Reset ......................................................................... 125
20.7. EPROM Error Reset...................................................................................... 125
20.8. Software Reset.............................................................................................. 125
20.9. USB Reset..................................................................................................... 125
21. Oscillators and Clock Selection......................................................................... 127
21.1. System Clock Selection................................................................................. 128
21.2. USB Clock Selection ..................................................................................... 128
21.3. Programmable Internal High-Frequency (H-F) Oscillator.............................. 130
21.3.1. Internal Oscillator Suspend Mode......................................................... 130
21.4. Clock Multiplier.............................................................................................. 132
21.5. Programmable Internal Low-Frequency (L-F) Oscillator ............................... 133
21.5.1. Calibrating the Internal L-F Oscillator.................................................... 133