Preliminary User’s Manual U16541EJ1V0UM
10
6.3
Control Registers...................................................................................................................217
6.4
Operation ................................................................................................................................222
6.4.1
Operation of each clock...........................................................................................................222
6.4.2
Clock output function ...............................................................................................................222
6.5
PLL Function..........................................................................................................................223
6.5.1
Overview..................................................................................................................................223
6.5.2
Control registers ......................................................................................................................223
6.5.3
Usage ......................................................................................................................................227
CHAPTER 7 16-BIT TIMER/EVENT COUNTER P ..............................................................................228
7.1
Features ..................................................................................................................................228
7.2
Function Outline ....................................................................................................................228
7.3
Configuration .........................................................................................................................229
7.4
Control Registers...................................................................................................................233
7.5
Operation ................................................................................................................................239
7.5.1
Anytime write and reload .........................................................................................................239
7.5.2
Interval timer mode (TPnMD2 to TPnMD0 = 000) ...................................................................244
7.5.3
External event count mode (TPnMD2 to TPnMD0 = 001) .......................................................247
7.5.4
External trigger pulse mode (TPnMD2 to TPnMD0 = 010) ......................................................251
7.5.5
One-shot pulse mode (TPnMD2 to TPnMD0 = 011)................................................................254
7.5.6
PWM mode (TPnMD2 to TPnMD0 = 110) ...............................................................................257
7.5.7
Free-running mode (TPnMD2 to TPnMD0 = 101) ...................................................................262
7.5.8
Pulse width measurement mode (TPnMD2 to TPnMD0 = 110)...............................................268
CHAPTER 8 16-BIT TIMER/EVENT COUNTER Q..............................................................................270
8.1
Features ..................................................................................................................................270
8.2
Function Outline ....................................................................................................................270
8.3
Configuration .........................................................................................................................271
8.4
Control Registers...................................................................................................................276
8.5
Operation ................................................................................................................................282
8.5.1
Anytime write and reload .........................................................................................................282
8.5.2
Interval timer mode (TQ0MD2 to TQ0MD0 = 000) ..................................................................287
8.5.3
External event count mode (TQ0MD2 to TQ0MD0 = 001) ......................................................290
8.5.4
External trigger pulse mode (TQ0MD2 to TQ0MD0 = 010) .....................................................294
8.5.5
One-shot pulse mode (TQ0MD2 to TQ0MD0 = 011)...............................................................297
8.5.6
PWM mode (TQ0MD2 to TQ0MD0 = 110) ..............................................................................300
8.5.7
Free-running mode (TQ0MD2 to TQ0MD0 = 101)...................................................................305
8.5.8
Pulse width measurement mode (TQ0MD2 to TQ0MD0 = 110) ..............................................312
CHAPTER 9 16-BIT INTERVAL TIMER M ..........................................................................................314
9.1
Outline ....................................................................................................................................314
9.2
Configuration .........................................................................................................................315
9.3
Control Register.....................................................................................................................316
9.4
Operation ................................................................................................................................317
9.4.1
Interval timer mode ..................................................................................................................317