3/106
Table of Contents
4.3.5 Low Power Modes . . . ............................................... 38
4.3.6 Interrupts . . . . . .. . . . . . . . . . . . . . . . . . ................................. 38
4.3.7 Register Description . . . . . . ...........................................38
4.4 16-BIT TIMER . . . . . . . .. . . . . . . . .. ........................................40
4.4.1 Introduction . . . .................................................... 40
4.4.2 Main Features . .. .. . ...............................................40
4.4.3 Functional Description . . . . ...........................................40
4.4.4 Low Power Modes . . ............................................... 51
4.4.5 Interrupts . . .. . ....................................................51
4.4.6 Register Description . . . . . . ...........................................52
4.5 SERIAL COMMUNICATIONS INTERFACE (SCI) . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . 57
4.5.1 Introduction . . . .................................................... 57
4.5.2 Main Features . .. .. . ...............................................57
4.5.3 General Description . . . .. ............................................57
4.5.4 Functional Description . . . . ...........................................59
4.5.5 Low Power Modes . . . ............................................... 64
4.5.6 Interrupts . . . . . .. . . . . . . . . . . . . . . . . . ................................. 64
4.5.7 Register Description . . . . . . ...........................................65
4.6 SERIAL PERIPHERAL INTERFACE (SPI) . . . . . . . . . . .. . . . . . . . . . . . . ............69
4.6.1 Introduction . . . .................................................... 69
4.6.2 Main Features . .. .. . ...............................................69
4.6.3 General description . . . . . . . . . . . . . . . . .. . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
4.6.4 Functional Description . . . . ...........................................71
4.6.5 Low Power Modes . . . ............................................... 78
4.6.6 Interrupts . . .. . ....................................................78
4.6.7 Register Description . . . . . . ...........................................79
4.7 8-BIT A/D CONVERTER (ADC) . . . . . .. .. . . . . . . . . . ........................... 82
4.7.1 Introduction . . . .................................................... 82
4.7.2 Main Features . .. .. . ...............................................82
4.7.3 Functional Description . . . . ...........................................83
4.7.4 Low Power Modes . . . ............................................... 83
4.7.5 Interrupts . . . . . .. . . . . . . . . . . . . . . . . . ................................. 83
4.7.6 Register Description . . . . . . ...........................................84
5 INSTRUCTION SET .. . . . . . . . . . . . . . . . . ........................................ 85
5.1 ST7 ADDRESSING MODES . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . 85
5.1.1 Inherent . . . . . . . . . . . ...............................................86
5.1.2 Immediate . .. . . . .. . . . . . . . .. . . . . . . . . . . . . . .. . . . . . . .. . . . . . . . . . . . . . . . . 86
5.1.3 Direct . ........................................................... 86
5.1.4 Indexed (No Offset, Short, Long) . . . . . . . . . . . . ........................... 86
5.1.5 Indirect (Short, Long) . . . . .. . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . 86
5.1.6 Indirect Indexed (Short,Long) . ........................................87
5.1.7 Relative mode (Direct,Indirect) . . . .. . . . . . . . .. . . . . . . . . . . .. . . . . . . . . . .. . . . 87
5.2 INSTRUCTION GROUPS . . .. . . . . . . . . . . .. ................................. 88
6 ELECTRICALCHARACTERISTICS . . . . . . . . .. . . . . . . .............................. 91
6.1 ABSOLUTE MAXIMUM RATINGS . . . ........................................91
6.2 RECOMMENDED OPERATING CONDITIONS . . . .............................. 92
6.3 RESET CHARACTERISTICS . . . . . . . . . . .................................... 93
3