Table of Contents
3/132
3
8.1.6 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . ................................. 66
8.1.7 Register Description . . . . . ............................................67
8.2 WATCHDOG TIMER (WDG) . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
8.2.1 Introduction . . . .................................................... 75
8.2.2 Main Features . . . . . . ...............................................75
8.2.3 Functional Description . . . . ...........................................76
8.2.4 Low PowerModes . . . ...............................................76
8.2.5 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . ................................. 76
8.2.6 Register Description . . . . . ............................................76
8.3 16-BIT TIMER . . . . . . . . . . . . . . . . . . ........................................78
8.3.1 Introduction . . . .................................................... 78
8.3.2 Main Features . . . . . . ...............................................78
8.3.3 Functional Description . . . . ...........................................78
8.3.4 Low PowerModes . . ............................................... 90
8.3.5 Interrupts . . . . . ....................................................90
8.3.6 Summary of Timer modes . . . . . . . . . . . . . . .............................. 90
8.3.7 Register Description . . . . . ............................................91
8.4 SERIAL PERIPHERAL INTERFACE (SPI) . . . .. . . . . . . . . . . . . .. . . . . . ............96
8.4.1 Introduction . . . .................................................... 96
8.4.2 Main Features . . . . . . ...............................................96
8.4.3 General description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
8.4.4 Functional Description . . . . ...........................................98
8.4.5 Low PowerModes . . . ..............................................105
8.4.6 Interrupts . . . . . ...................................................105
8.4.7 Register Description . . . . . ...........................................106
8.5 8-BIT A/D CONVERTER (ADC) . . . . . . . .. . . . . . .. . . .......................... 109
8.5.1 Introduction . . . ................................................... 109
8.5.2 Main Features . . . . . . .............................................. 109
8.5.3 Functional Description . . . . ..........................................110
8.5.4 Low PowerModes . . . ..............................................110
8.5.5 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . ................................ 110
8.5.6 Register Description . . . . . ...........................................111
9 INSTRUCTION SET . . . . . . . . . . . . . . . . . . .......................................112
9.1 ST7 ADDRESSING MODES . . . . . . . . . .. . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
9.1.1 Inherent . . . . . . .. . . . .............................................. 113
9.1.2 Immediate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . 113
9.1.3 Direct . .......................................................... 113
9.1.4 Indexed (No Offset, Short, Long) . . . . . . . . . . . . .......................... 113
9.1.5 Indirect (Short, Long) . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
9.1.6 Indirect Indexed (Short, Long) . .......................................114
9.1.7 Relative mode (Direct, Indirect) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
9.2 INSTRUCTION GROUPS . . .. . . . . . . . . . . . . ................................115
10 ELECTRICAL CHARACTERISTICS . . . . ........................................ 118
10.1ABSOLUTE MAXIMUM RATINGS . . . .......................................118
10.2RECOMMENDED OPERATING CONDITIONS . . . . . . . . . . . . . . . . . . . . . ..........119
10.3DC ELECTRICAL CHARACTERISTICS . . . . . . . . . . . . . . . . . . . .. . . . . . ........... 119
10.4GENERAL TIMING CHARACTERISTICS . . . . . . . . . . . .. . . . . . . . . . . . . . . . . ....... 119