20
CHAPTER 8 16-BIT TIMER/EVENT COUNTER.............................................................................
157
8.1
8.2
8.3
8.4
8.5
Outline of Timer Integrated in
μ
PD780024, 780034, 780024Y, 780034Y Subseries........
16-Bit Timer/Event Counter Functions ..............................................................................
16-Bit Timer/Event Counter Configuration ........................................................................
Registers to Control 16-Bit Timer/Event Counter .............................................................
16-Bit Timer/Event Counter Operations.............................................................................
8.5.1
Interval timer operations.............................................................................................................
8.5.2
PPG output operations ...............................................................................................................
8.5.3
Pulse width measurement operations ........................................................................................
8.5.4
External event counter operation ...............................................................................................
8.5.5
Square-wave output operation ...................................................................................................
8.5.6
One-shot pulse output operation ................................................................................................
8.6 16-Bit Timer/Event Counter Operating Precautions .........................................................
157
158
160
162
168
168
170
171
178
179
181
184
CHAPTER 9 8-BIT TIMER/EVENT COUNTER................................................................................
189
9.1
9.2
9.3
9.4
8-Bit Timer/Event Counter Functions ................................................................................
8-Bit Timer/Event Counter Configurations ........................................................................
Registers to Control 8-Bit Timer/Event Counter ...............................................................
8-Bit Timer/Event Counter Operations...............................................................................
9.4.1
8-bit interval timer operation.......................................................................................................
9.4.2
External event counter operation ...............................................................................................
9.4.3
Square-wave output (8-bit resolution) operation ........................................................................
9.4.4
8-bit PWM output operation .......................................................................................................
9.4.5
Interval timer (16-bit) operations ................................................................................................
8-Bit Timer/Event Counters Cautions ................................................................................
189
191
192
196
196
200
201
202
205
206
9.5
CHAPTER 10 WATCH TIMER ........................................................................................................
209
10.1 Watch Timer Functions .......................................................................................................
10.2 Watch Timer Configuration.................................................................................................
10.3 Register to Control Watch Timer........................................................................................
10.4 Watch Timer Operations .....................................................................................................
10.4.1 Watch timer operation ................................................................................................................
10.4.2 Interval timer operation ..............................................................................................................
209
210
211
212
212
212
CHAPTER 11 WATCHDOG TIMER ................................................................................................
215
11.1 Watchdog Timer Functions.................................................................................................
11.2 Watchdog Timer Configuration ..........................................................................................
11.3 Registers to Control the Watchdog Timer .........................................................................
11.4 Watchdog Timer Operations ...............................................................................................
11.4.1 Watchdog timer operation ..........................................................................................................
11.4.2 Interval timer operation ..............................................................................................................
215
217
217
221
221
222