Z51F3220
Product Specification
9.6 P3 Port...........................................................................................................................................................70
9.7 P4 Port...........................................................................................................................................................71
9.8 P5 Port...........................................................................................................................................................72
9.9 Port Function..................................................................................................................................................73
10. Interrupt Controller..............................................................................................................................................82
10.1 Overview......................................................................................................................................................82
10.2 External Interrupt .........................................................................................................................................83
10.3 Block Diagram .............................................................................................................................................84
10.4 Interrupt Vector Table..................................................................................................................................85
10.5 Interrupt Sequence......................................................................................................................................85
10.6 Effective Timing after Controlling Interrupt Bit ............................................................................................87
10.7 Multi Interrupt...............................................................................................................................................88
10.8 Interrupt Enable Accept Timing...................................................................................................................89
10.9 Interrupt Service Routine Address ..............................................................................................................89
10.10 Saving/Restore General-Purpose Registers.............................................................................................89
10.11 Interrupt Timing..........................................................................................................................................90
10.12 Interrupt Register Overview.......................................................................................................................90
10.13 Interrupt Register Description....................................................................................................................92
11. Peripheral Hardware...........................................................................................................................................99
11.1 Clock Generator...........................................................................................................................................99
11.2 Basic Interval Timer...................................................................................................................................102
11.3 Watch Dog Timer.......................................................................................................................................105
11.4 Watch Timer...............................................................................................................................................108
11.5 Timer 0.......................................................................................................................................................111
11.6 Timer 1.......................................................................................................................................................120
11.7 Timer 2.......................................................................................................................................................130
11.8 Timer 3, 4...................................................................................................................................................141
11.9 Buzzer Driver.............................................................................................................................................170
11.10 SPI 2 ........................................................................................................................................................172
11.11 12-Bit A/D Converter ...............................................................................................................................178
11.12 USI0 (UART + SPI + I2C)........................................................................................................................185
11.13 USI1 (UART + SPI + I2C)........................................................................................................................222
11.15 LCD Driver ...............................................................................................................................................260
12. Power Down Operation ....................................................................................................................................272
12.1 Overview....................................................................................................................................................272
12.2 Peripheral Operation in IDLE/STOP Mode ...............................................................................................272
12.3 IDLE Mode.................................................................................................................................................273
12.4 STOP Mode ...............................................................................................................................................274
12.5 Release Operation of STOP Mode............................................................................................................275
13. RESET..............................................................................................................................................................277
13.1 Overview....................................................................................................................................................277
13.2 Reset Source.............................................................................................................................................277
13.3 RESET Block Diagram ..............................................................................................................................277
13.4 RESET Noise Canceller ............................................................................................................................278
13.5 Power on RESET.......................................................................................................................................278
13.6 External RESETB Input.............................................................................................................................281
13.7 Brown Out Detector Processor..................................................................................................................282
13.8 LVI Block Diagram.....................................................................................................................................283
14. On-chip Debug System ....................................................................................................................................287
14.1 Overview....................................................................................................................................................287
14.2 Two-Pin External Interface ........................................................................................................................288
15. Flash Memory...................................................................................................................................................293
PS029902-0212
P R E L I M I N A R Y
2