User’s Manual U16896EJ2V0UD
9
4.3.8 Port DL ...........................................................................................................................................99
4.4 Block
Diagrams ........................................................................................................................ 101
4.5
Port Register Setting When Alternate Function Is Used ..................................................... 119
4.6 Cautions.................................................................................................................................... 123
4.6.1
Cautions on bit manipulation instruction for port n register (Pn) ...................................................123
4.6.2 Hysteresis
characteristics .............................................................................................................124
CHAPTER 5 CLOCK GENERATION FUNCTION ...............................................................................125
5.1 Overview ................................................................................................................................... 125
5.2 Configuration............................................................................................................................ 126
5.3 Registers................................................................................................................................... 128
5.4 Operation .................................................................................................................................. 133
5.4.1 Operation
of each clock ................................................................................................................133
5.4.2 Clock
output function ....................................................................................................................133
5.4.3 External
clock input function .........................................................................................................133
5.5 PLL
Function ............................................................................................................................ 134
5.5.1 Overview ......................................................................................................................................134
5.5.2 Register ........................................................................................................................................134
5.5.3
Usage ...........................................................................................................................................135
CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP) .................................................................136
6.1 Overview ................................................................................................................................... 136
6.2 Functions .................................................................................................................................. 136
6.3 Configuration............................................................................................................................ 137
6.4 Registers................................................................................................................................... 139
6.5 Operation .................................................................................................................................. 150
6.5.1
Interval timer mode (TP0MD2 to TP0MD0 bits = 000)..................................................................151
6.5.2
External event count mode (TP0MD2 to TP0MD0 bits = 001)......................................................161
6.5.3
External trigger pulse output mode (TP0MD2 to TP0MD0 bits = 010)..........................................169
6.5.4
One-shot pulse output mode (TP0MD2 to TP0MD0 bits = 011) ...................................................181
6.5.5
PWM output mode (TP0MD2 to TP0MD0 bits = 100)...................................................................188
6.5.6
Free-running timer mode (TP0MD2 to TP0MD0 bits = 101) .........................................................197
6.5.7
Pulse width measurement mode (TP0MD2 to TP0MD0 bits = 110) .............................................214
6.5.8 Timer
output operations................................................................................................................220
6.6
Eliminating Noise on Capture Trigger Input Pin (TIP0a)...................................................... 221
6.7 Cautions.................................................................................................................................... 223
CHAPTER 7 16-BIT TIMER/EVENT COUNTER 0..............................................................................224
7.1 Functions .................................................................................................................................. 224
7.2 Configuration............................................................................................................................ 225
7.3 Registers................................................................................................................................... 231
7.4 Operation .................................................................................................................................. 238
7.4.1 Interval
timer operation .................................................................................................................238
7.4.2 Square
wave
output operation......................................................................................................241
7.4.3 External
event
counter operation..................................................................................................244
7.4.4
Operation in clear & start mode entered by TI010 pin valid edge input ........................................247
7.4.5 Free-running
timer operation ........................................................................................................262