Preliminary User’s Manual U16846EJ1V0UD
11
6.4.2 PPG
output operations...................................................................................................................118
6.4.3 Pulse width measurement operations ............................................................................................121
6.4.4 External
event
counter operation ...................................................................................................129
6.4.5 Square-wave
output operation .......................................................................................................132
6.4.6 One-shot
pulse output operation ....................................................................................................134
6.5 Cautions for 16-Bit Timer/Event Counter 00 ......................................................................... 139
CHAPTER 7 8-BIT TIMER/EVENT COUNTER 50............................................................................. 142
7.1 Functions of 8-Bit Timer/Event Counter 50........................................................................... 142
7.2 Configuration of 8-Bit Timer/Event Counter 50 .................................................................... 143
7.3 Registers Controlling 8-Bit Timer/Event Counter 50............................................................ 145
7.4 Operations of 8-Bit Timer/Event Counter 50 ......................................................................... 148
7.4.1 Operation
as
interval timer .............................................................................................................148
7.4.2 Operation as external event counter ..............................................................................................150
7.4.3 Operation
as
square-wave output ..................................................................................................151
7.4.4 Operation
as PWM output ..............................................................................................................152
7.5 Cautions for 8-Bit Timer/Event Counter 50 ........................................................................... 154
CHAPTER 8 8-BIT TIMERS H0 AND H1 .......................................................................................... 155
8.1 Functions of 8-Bit Timers H0 and H1 ..................................................................................... 155
8.2 Configuration of 8-Bit Timers H0 and H1 .............................................................................. 155
8.3 Registers Controlling 8-Bit Timers H0 and H1...................................................................... 159
8.4 Operation of 8-Bit Timers H0 and H1 ..................................................................................... 163
8.4.1 Operation as interval timer/square-wave output.............................................................................163
8.4.2 Operation
as PWM output mode ....................................................................................................166
CHAPTER 9 WATCHDOG TIMER ....................................................................................................... 172
9.1 Functions of Watchdog Timer ................................................................................................ 172
9.2 Configuration of Watchdog Timer.......................................................................................... 174
9.3 Registers Controlling Watchdog Timer ................................................................................. 174
9.4 Operation of Watchdog Timer ................................................................................................ 177
9.4.1 Watchdog timer operation when “Ring-OSC cannot be stopped” is selected by option byte .........177
9.4.2 Watchdog timer operation when “Ring-OSC can be stopped by software” is
selected by option byte ..................................................................................................................178
9.4.3 Watchdog timer operation in STOP mode (when “Ring-OSC can be stopped by software”
is selected by option byte)..............................................................................................................179
9.4.4
Watchdog timer operation in HALT mode (when “Ring-OSC can be stopped by software”
is selected by option byte)..............................................................................................................181
CHAPTER 10 A/D CONVERTER ......................................................................................................... 182
10.1 Function of A/D Converter ...................................................................................................... 182
10.2 Configuration of A/D Converter.............................................................................................. 183
10.3 Registers Used in A/D Converter ........................................................................................... 185
10.4 A/D Converter Operations....................................................................................................... 189
10.4.1 Basic operations of A/D converter..................................................................................................189
10.4.2 Input voltage and conversion results..............................................................................................191
10.4.3 A/D converter operation mode .......................................................................................................192
10.5 How to Read A/D Converter Characteristics Table .............................................................. 195