User’s Manual U18172EJ2V0UD
10
7.2 Configuration of 8-Bit Timer H1 ................................................................................................122
7.3 Registers Controlling 8-Bit Timer H1........................................................................................125
7.4
Operation of 8-Bit Timer H1 .......................................................................................................127
7.4.1 Operation as interval timer/square-wave output .............................................................................. 127
7.4.2 Operation as PWM output mode ..................................................................................................... 131
CHAPTER 8 WATCHDOG TIMER .......................................................................................................137
8.1 Functions of Watchdog Timer ...................................................................................................137
8.2 Configuration of Watchdog Timer ............................................................................................139
8.3 Registers Controlling Watchdog Timer....................................................................................140
8.4 Operation of Watchdog Timer ...................................................................................................142
8.4.1 Watchdog timer operation when “low-speed internal oscillator cannot be stopped” is selected by
option byte...................................................................................................................................... 142
8.4.2 Watchdog timer operation when “low-speed internal oscillator can be stopped by software” is
selected by option byte................................................................................................................... 144
8.4.3
Watchdog timer operation in STOP mode (when “low-speed internal oscillator can be stopped by
software” is selected by option byte) .............................................................................................. 146
8.4.4 Watchdog timer operation in HALT mode (when “low-speed internal oscillator can be stopped by
software” is selected by option byte) .............................................................................................. 147
CHAPTER 9 A/D CONVERTER ...........................................................................................................148
9.1 Functions of A/D Converter .......................................................................................................148
9.2 Configuration of A/D Converter ................................................................................................150
9.3 Registers Used by A/D Converter .............................................................................................152
9.4 A/D Converter Operations .........................................................................................................157
9.4.1 Basic operations of A/D converter ................................................................................................... 157
9.4.2 Input voltage and conversion results ............................................................................................... 159
9.4.3 A/D converter operation mode......................................................................................................... 160
9.5 How to Read A/D Converter Characteristics Table .................................................................162
9.6 Cautions for A/D Converter .......................................................................................................164
CHAPTER 10 INTERRUPT FUNCTIONS ............................................................................................167
10.1 Interrupt Function Types .........................................................................................................167
10.2 Interrupt Sources and Configuration......................................................................................167
10.3 Interrupt Function Control Registers .....................................................................................169
10.4 Interrupt Servicing Operation..................................................................................................172
10.4.1 Maskable interrupt request acknowledgment operation ................................................................ 172
10.4.2 Multiple interrupt servicing............................................................................................................. 174
10.4.3 Interrupt request pending .............................................................................................................. 176
CHAPTER 11 STANDBY FUNCTION ..................................................................................................177
11.1 Standby Function and Configuration .....................................................................................177
11.1.1 Standby function............................................................................................................................ 177
11.1.2 Registers used during standby ...................................................................................................... 179