![](http://datasheet.mmic.net.cn/Renesas-Electronics-America/UPD70F3201YGC-YEU-A_datasheet_99847/UPD70F3201YGC-YEU-A_12.png)
User’s Manual U15905EJ2V1UD
10
5.10.1
Program space ..........................................................................................................................195
5.10.2
Data space ................................................................................................................................195
5.11 Bus Timing ............................................................................................................................. 196
CHAPTER 6 CLOCK GENERATION FUNCTION .............................................................................. 202
6.1
Overview................................................................................................................................. 202
6.2
Configuration ......................................................................................................................... 203
6.3
Control Registers................................................................................................................... 205
6.4
Operation................................................................................................................................ 208
6.4.1
Operation of each clock.............................................................................................................208
6.4.2
Clock output function .................................................................................................................208
6.5
Prescaler 3.............................................................................................................................. 209
6.5.1
Control register ..........................................................................................................................210
6.5.2
Generation of clock....................................................................................................................211
CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 0 AND 1............................................................. 212
7.1
Features.................................................................................................................................. 212
7.2
Functional Overview ............................................................................................................. 212
7.3
Configuration ......................................................................................................................... 213
7.4
Control Registers................................................................................................................... 217
7.5
Operation................................................................................................................................ 222
7.6
Application Examples ........................................................................................................... 229
7.7
Cautions ................................................................................................................................. 238
CHAPTER 8 8-BIT TIMER/EVENT COUNTERS 2 TO 5 ................................................................. 239
8.1
Functional Overview ............................................................................................................. 239
8.2
Configuration ......................................................................................................................... 240
8.3
Control Registers................................................................................................................... 242
8.4
Operation................................................................................................................................ 246
8.4.1
Operation as interval timer (8 bits).............................................................................................246
8.4.2
Operation as external event counter (8 bits)..............................................................................248
8.4.3
Square-wave output operation (8-bit resolution)........................................................................ 249
8.4.4
8-bit PWM output operation.......................................................................................................251
8.4.5
Operation as interval timer (16 bits)...........................................................................................254
8.4.6
Operation as external event counter (16 bits)............................................................................256
8.4.7
Square-wave output operation (16-bit resolution)...................................................................... 257
8.4.8
Cautions ....................................................................................................................................258
CHAPTER 9 REAL-TIME COUNTER FUNCTION .............................................................................. 259
9.1
Function.................................................................................................................................. 259
9.2
Control Registers................................................................................................................... 260
9.3
Operation................................................................................................................................ 266
9.3.1
Initializing counter and count-up ................................................................................................266
9.3.2
Rewriting counter.......................................................................................................................266