CHAPTER 7 16-BIT TIMER/EVENT COUNTER 0
User’s Manual U16896EJ2V0UD
283
Figure 7-42. Example of Register Settings for Pulse Width Measurement Operation (1/2)
(a) 16-bit timer mode control register 01 (TMC01)
0
0
0
0
0/1
0/1
0
0
TMC013 TMC012 TMC011
OVF01
01: Free running timer mode
10: Clear and start mode entered
by valid edge of TI010 pin.
(b) Capture/compare control register 01 (CRC01)
0
0
0
0
0
1
0/1
1
CRC012 CRC011 CRC010
CR010 used as capture register
CR011 used as capture register
0: TI011 pin is used as capture
trigger of CR010.
1: Reverse phase of TI010 pin is
used as capture trigger of CR010.
(c) 16-bit timer output control register 01 (TOC01)
0
0
0
0
0
LVR01
LVS01
TOC014
OSPE01
OSPT01
TOC011
TOE01
0
0
0
(d) Prescaler mode register 01 (PRM01), selector operation control register 1 (SELCNT1)
Selects count clock
(setting valid edge of TI010 is prohibited)
00: Falling edge detection
01: Rising edge detection
10: Setting prohibited
11: Both edges detection
(setting when CRC011 = 1 is prohibited)
00: Falling edge detection
01: Rising edge detection
10: Setting prohibited
11: Both edges detection
0/1
PRM01
0/1
0/1
0/1
0
PRM011 PRM010
ES111
ES110
ES101
ES100
0
0/1
0/1
SELCNT1
ISEL11
0/1