CHAPTER 9 TIMER/COUNTER FUNCTION
347
User’s Manual U15195EJ5V0UD
9.3.5 Operation
(1) Edge detection
The edge detection timing is shown below.
Figure 9-66. Edge Detection Timing
f
CLK
00B
01B
10B
11B
MUXTB0
CT
ED1, ED2
ECLR
Note
TINEx, TCLR2,
TCOUNTEn
Note
The set values of the TESnE1 and TESnE0 bits and the CESE1 and CESE0 bits of the CSE0 register,
and the IESEx1 and IESEx0 bits of the SESE0 register are shown.
Remarks 1.
f
CLK
: Base clock
2.
CT: TM2n count signal input in the 16-bit mode
ECLR: External control signal input from TCLR2 input
ED1, ED2: Capture event signal input from edge selector
MUXTB0: TM20 multiplex signal
TCOUNTEn: Timer 2 count enable signal input
TINEx: Timer 2 subchannel x capture event signal input (x = 0 to 5)
3.
n = 0, 1
x = 0 to 5