Specifications

C8051F330/1
4 Rev. 1.1
9.2.5. Stack ...................................................................................................................74
9.2.6. Special Function Registers.....................................................................................75
9.2.7. Register Descriptions.............................................................................................78
9.3. Interrupt Handler .............................................................................................................81
9.3.1. MCU Interrupt Sources and Vectors .....................................................................81
9.3.2. External Interrupts .................................................................................................82
9.3.3. Interrupt Priorities..................................................................................................82
9.3.4. Interrupt Latency....................................................................................................82
9.3.5. Interrupt Register Descriptions..............................................................................84
9.4. Power Management Modes .............................................................................................89
9.4.1. Idle Mode...............................................................................................................89
9.4.2. Stop Mode..............................................................................................................89
10. RESET SOURCES ................................................................................................................91
10.1.Power-On Reset...............................................................................................................92
10.2.Power-Fail Reset / VDD Monitor....................................................................................93
10.3.External Reset..................................................................................................................94
10.4.Missing Clock Detector Reset .........................................................................................94
10.5.Comparator0 Reset ..........................................................................................................94
10.6.PCA Watchdog Timer Reset ...........................................................................................94
10.7.FLASH Error Reset .........................................................................................................94
10.8.Software Reset.................................................................................................................94
11. FLASH MEMORY ................................................................................................................97
11.1.Programming The FLASH Memory ...............................................................................97
11.1.1. FLASH Lock and Key Functions ..........................................................................97
11.1.2. FLASH Erase Procedure........................................................................................97
11.1.3. FLASH Write Procedure .......................................................................................98
11.2.Non-volatile Data Storage ...............................................................................................99
11.3.Security Options ..............................................................................................................99
12. EXTERNAL RAM...............................................................................................................103
13. OSCILLATORS...................................................................................................................105
13.1.Programmable Internal High-Frequency (H-F) Oscillator ............................................105
13.1.1. Programming the Internal H-F Oscillator on C8051F310/1 Devices ..................106
13.2.Programmable Internal Low-Frequency (L-F) Oscillator .............................................108
13.2.1. Calibrating the Internal L-F Oscillator ................................................................108
13.3.External Oscillator Drive Circuit...................................................................................109
13.3.1. External Crystal Example ....................................................................................111
13.3.2. External RC Example ..........................................................................................111
13.3.3. External Capacitor Example ................................................................................111
13.4.System Clock Selection.................................................................................................111
14. PORT INPUT/OUTPUT ...................................................................................................113
14.1.Priority Crossbar Decoder .............................................................................................115
14.2.Port I/O Initialization.....................................................................................................117
14.3.General Purpose Port I/O...............................................................................................120
15. SMBUS..................................................................................................................................127
15.1.Supporting Documents ..................................................................................................128