20
CHAPTER 8 16-BIT TIMER/EVENT COUNTER ............................................................................. 175
8.1 Outline of Timers Incorporated in the
ยต
PD78054, 78054Y Subseries .......................... 175
8.2 16-Bit Timer/Event Counter Functions........................................................................... 177
8.3 16-Bit Timer/Event Counter Configuration..................................................................... 179
8.4 16-Bit Timer/Event Counter Control Registers.............................................................. 182
8.5 16-Bit Timer/Event Counter Operations.......................................................................... 191
8.5.1 Interval timer operations ...................................................................................................... 191
8.5.2 PWM output operations ....................................................................................................... 193
8.5.3 PPG output operations ........................................................................................................ 196
8.5.4 Pulse width measurement operations ................................................................................. 197
8.5.5 External event counter operation......................................................................................... 204
8.5.6 Square-wave output operation ............................................................................................ 206
8.5.7 One-shot pulse output operation ......................................................................................... 208
8.6 16-Bit Timer/Event Counter Operating Precautions...................................................... 212
CHAPTER 9 8-BIT TIMER/EVENT COUNTERS 1 AND 2 .............................................................. 215
9.1 8-Bit Timer/Event Counters 1 and 2 Functions.............................................................. 215
9.1.1 8-bit timer/event counter mode ............................................................................................ 215
9.1.2 16-bit timer/event counter mode .......................................................................................... 218
9.2 8-Bit Timer/Event Counters 1 and 2 Configurations...................................................... 220
9.3 8-Bit Timer/Event Counters 1 and 2 Control Registers................................................. 223
9.4 8-Bit Timer/Event Counters 1 and 2 Operations............................................................ 228
9.4.1 8-bit timer/event counter mode ............................................................................................ 228
9.4.2 16-bit timer/event counter mode .......................................................................................... 234
9.5 Cautions on 8-Bit Timer/Event Counters 1 and 2.......................................................... 238
CHAPTER 10 WATCH TIMER........................................................................................................... 241
10.1 Watch Timer Functions.................................................................................................... 241
10.2 Watch Timer Configuration.............................................................................................. 242
10.3 Watch Timer Control Registers....................................................................................... 242
10.4 Watch Timer Operations................................................................................................... 246
10.4.1 Watch timer operation .......................................................................................................... 246
10.4.2 Interval timer operation ........................................................................................................ 246
CHAPTER 11 WATCHDOG TIMER................................................................................................... 247
11.1 Watchdog Timer Functions.............................................................................................. 247
11.2 Watchdog Timer Configuration....................................................................................... 249
11.3 Watchdog Timer Control Registers................................................................................. 250
11.4 Watchdog Timer Operations............................................................................................ 253
11.4.1 Watchdog timer operation .................................................................................................... 253
11.4.2 Interval timer operation ........................................................................................................ 254
CHAPTER 12 CLOCK OUTPUT CONTROL CIRCUIT ..................................................................... 255
12.1 Clock Output Control Circuit Functions......................................................................... 255
12.2 Clock Output Control Circuit Configuration................................................................... 256
12.3 Clock Output Function Control Registers...................................................................... 257