CHAPTER 9 TIMER/COUNTER FUNCTION
324
User’s Manual U15195EJ5V0UD
9.3.3 Basic configuration
The basic configuration is shown below.
Table 9-9. Timer 2 Configuration List
Timer
Count Clock
Register
Read/Write
Generated Interrupt
Signal
Capture Trigger
Other
Functions
TM20
−
INTTM20
−
Note 1
TM21
−
INTTM21
−
Note 1
CVSE00 Read/write
INTCC20
INTP20/INTP25
−
CVSE10 Read/write
INTCC21
INTP21/INTP24
Buffer/
Note 2
CVSE20 Read/write
INTCC22
INTP22/INTP23
Buffer/
Note 2
CVSE30 Read/write
INTCC23
INTP23/INTP22
Buffer/
Note 2
CVSE40 Read/write
INTCC24
INTP24/INTP21
Buffer/
Note 2
CVSE50 Read/write
INTCC25
INTP25/INTP20
−
CVPE40 Read
INTCC24
INTP24/INTP21
Note 2
CVPE30 Read
INTCC23
INTP23/INTP22
Note 2
CVPE20 Read
INTCC22
INTP22/INTP23
Note 2
Timer 2
f
XX
/4,
f
XX
/8,
f
XX
/16,
f
XX
/32,
f
XX
/64,
f
XX
/128,
f
XX
/256
CVPE10 Read
INTCC21
INTP21/INTP24
Note 2
Notes 1.
Cascade operation with TM20 and TM21 is possible.
2.
Cascade operation using the CVSEn0 and CVPEn0 registers is possible (n = 1 to 4).
Remark
f
XX
: Internal system clock
The following shows the capture/compare operation sources.
Table 9-10. Capture/Compare Operation Sources
Register Subchannel
No.
Timer to Be Captured
Timer to Be Compared
Timer Captured in 32-Bit
Cascade Connection
CVSE00 0
TM20
TM20
−
CVPEn0
n
TM21 when BFEEy bit of
CMSEm0 register = 0
TM20 when TB1Ey, TB0Ey
bits of CMSEm0 register = 01
TM21
CVSEn0
n
TM20 when BFEEy bit of
CMSEm0 register = 0
Used as buffer
TM20
CVSE50 5
TM21
TM21
−
Remark
n = 1 to 4
m: m = 12 when n = 1, 2, m = 34 when n = 3, 4
y: y = 1, 2 when m = 12, y = 3, 4 when m = 34