2/84
Table of Contents
95
1 GENERAL DESCRIPTION . . . . . . ................................................ 4
1.1 INTRODUCTION . . . . . . . . . . . . ............................................. 4
1.2 PIN DESCRIPTION . . ..................................................... 5
1.3 EXTERNAL CONNECTIONS . .. . . . . . . . . . . . . . . . . . . .. . . . . . . .. . . . . . . . . ......... 9
1.4 MEMORY MAP . . . . . .. . . . ............................................... 10
2 CENTRAL PROCESSING UNIT . . ............................................... 13
2.1 INTRODUCTION . . . . . . . . . . . . ............................................13
2.2 MAIN FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . .............................. 13
2.3 CPU REGISTERS . . . .................................................... 13
3 CLOCKS, RESET, INTERRUPTS & POWER SAVING MODES . . . . . .. . . . . . . ...........16
3.1 CLOCK SYSTEM . . . . . .. . . . . . ............................................16
3.1.1 General Description . . . .. . ...........................................16
3.2 RESET . . . . . . . . . . . . .. . . . . . . .. . . . . . . . . . . . . .............................. 17
3.2.1 Introduction . . . .................................................... 17
3.2.2 External Reset . . . . . . ...............................................17
3.2.3 Reset Operation . . . . . . . . . . . . . . . . . . . . . . . . . ........................... 17
3.2.4 Power-on Reset .................................................... 17
3.3 INTERRUPTS . . . .. . . . . . .. . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . .. . . . . . . .. . . . . . . 18
3.4 POWER SAVING MODES . .. . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . .. . . . . . . ........ 21
3.4.1 Introduction . . . .................................................... 21
3.4.2 Slow Mode . . .. . . . . . . . . . . . . . . . . . . . ................................. 21
3.4.3 Wait Mode . . . . . . . . . . . . . . .. ........................................ 21
3.4.4 Halt Mode . . . . . .................................................... 22
3.5 MISCELLANEOUS REGISTER . . . . .. . . . . . .................................. 23
4 ON-CHIP PERIPHERALS . . . . . . . . . . . ...........................................24
4.1 I/O PORTS . . . . . . . . .. . . . . . . . . ...........................................24
4.1.1 Introduction . . . .................................................... 24
4.1.2 Functional Description . . . . ...........................................24
4.1.3 I/O Port Implementation . . . . . . . . . . . . . . . . . . . ........................... 25
4.1.4 Register Description . . . . . . ...........................................28
4.2 WATCHDOG TIMER (WDG) . . . . . . .. . . . . . . .. . . .. . . .. . . . . . . . . . . . . . . . .. . . . . . . 30
4.2.1 Introduction . . . .................................................... 30
4.2.2 Main Features . .. . . . ...............................................30
4.2.3 Functional Description . . . . ...........................................31
4.2.4 Low Power Modes . . . ............................................... 31
4.2.5 Interrupts . . . . . .. . . . . . . . . . .. . . . . . . ................................. 31
4.2.6 Register Description . . . . . . ...........................................31
4.3 16-BIT TIMER . . . . . . . . . . . . . . . . . . ........................................32
4.3.1 Introduction . . . .................................................... 32
4.3.2 Main Features . .. . . . ...............................................32
4.3.3 Functional Description . . . . ...........................................32
4.3.4 Low Power Modes . . ............................................... 43
4.3.5 Interrupts . . .. . .................................................... 43
4.3.6 Register Description . . . . . . ...........................................44
2