![](http://datasheet.mmic.net.cn/380000/-PD784214Y_datasheet_16744924/-PD784214Y_15.png)
15
8.4
Operation ............................................................................................................................... 168
8.4.1
Operation as interval timer (16 bits)........................................................................................... 168
8.4.2
PPG output operation ................................................................................................................ 170
8.4.3
Pulse width measurement ......................................................................................................... 171
8.4.4
Operation as external event counter.......................................................................................... 178
8.4.5
Operation to output square wave............................................................................................... 180
8.4.6
Operation to output one-shot pulse ........................................................................................... 182
Cautions ................................................................................................................................. 187
8.5
CHAPTER 9 8-BIT TIMER/COUNTER 1, 2 ..................................................................................... 191
9.1
9.2
9.3
9.4
Functions ............................................................................................................................... 191
Configuration......................................................................................................................... 192
Control Registers .................................................................................................................. 194
Operation ............................................................................................................................... 199
9.4.1
Operating as an Interval Timer (8-bit operation) ........................................................................ 199
9.4.2
Operating as an External Event Counter ................................................................................... 203
9.4.3
Operating as an Square Wave Output (8-bit resolution) ............................................................ 204
9.4.4
Operating as an 8-Bit PWM Output ........................................................................................... 205
9.4.5
Operating as an Interval Timer (16-bit operation) ...................................................................... 208
Cautions ................................................................................................................................. 209
9.5
CHAPTER 10 8-BIT TIMER/COUNTER 5, 6 ................................................................................... 211
10.1
10.2
10.3
10.4
Functions ............................................................................................................................... 211
Configuration......................................................................................................................... 212
Control Registers .................................................................................................................. 214
Operation ............................................................................................................................... 219
10.4.1
Operating as an Interval Timer (8-bit operation) ........................................................................ 219
10.4.2
Operating as an External Event Counter ................................................................................... 223
10.4.3
Operating as an Square Wave Output (8-bit resolution) ............................................................ 224
10.4.4
Operating as an 8-Bit PWM Output ........................................................................................... 225
10.4.5
Operating as an Interval Timer (16-bit operation) ...................................................................... 228
Cautions ................................................................................................................................. 229
10.5
CHAPTER 11 8-BIT TIMER/COUNTER 7, 8.................................................................................... 231
11.1
11.2
11.3
11.4
Functions ............................................................................................................................... 231
Configuration......................................................................................................................... 232
Control Registers .................................................................................................................. 234
Operation ............................................................................................................................... 239
11.4.1
Operating as an Interval Timer (8-bit operation) ........................................................................ 239
11.4.2
Operating as an External Event Counter ................................................................................... 243
11.4.3
Operating as an Square Wave Output (8-bit resolution) ............................................................ 244
11.4.4
Operating as an 8-Bit PWM Output ........................................................................................... 245
11.4.5
Operating as an Interval Timer (16-bit operation) ...................................................................... 248
Cautions ................................................................................................................................. 249
11.5