CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Preliminary User’s Manual U19014EJ1V0UD
168
Figure 6-51. Example of Register Settings for Pulse Width Measurement (1/2)
(a) 16-bit timer mode control register 00 (TMC00)
0
0
0
0
0/1
0/1
0
0
TMC003 TMC002 TMC001
OVF00
01: Free running timer mode
10: Clear and start mode entered
by valid edge of TI000 pin.
(b) Capture/compare control register 00 (CRC00)
0
0
0
0
0
1
0/1
1
CRC002 CRC001 CRC000
1: CR000 used as capture register
1: CR010 used as capture register
0: TI010 pin is used as capture
trigger of CR000.
1: Reverse phase of TI000 pin is
used as capture trigger of CR000.
(c) 16-bit timer output control register 00 (TOC00)
0
0
0
0
0
LVR00
LVS00
TOC004
OSPE00
OSPT00
TOC001
TOE00
0
0
0
(d) Prescaler mode register 00 (PRM00)
0/1
0/1
0/1
0/1
0
3
2
PRM001 PRM000
ES101
ES100
ES001
ES000
Selects count clock
(setting valid edge of TI000 is prohibited)
00: Falling edge detection
01: Rising edge detection
10: Setting prohibited
11: Both edges detection
(setting when CRC001 = 1 is prohibited)
00: Falling edge detection
01: Rising edge detection
10: Setting prohibited
11: Both edges detection
0
0/1
0/1
electronic components distributor