CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
337
User’s Manual U14492EJ3V0UD
The following shows the capture/compare operation sources.
Table 9-9. Capture/Compare Operation Sources
Register
Sub-channel
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
The following shows the output level sources during timer output.
Table 9-10. Output Level Sources During Timer Output
TO2n
Toggle Mode 0
(OTMEn1, OTMEn0 = 00)
Toggle Mode 1
(OTMEn1, OTMEn0 = 01)
Toggle Mode 2
(OTMEn1, OTMEn0 = 10)
Toggle Mode 3
(OTMEn1, OTMEn0 = 11)
Trigger
Compare match of sub-
channel n
Compare
match of sub-
channel n
TM20 = 0
Compare
match of sub-
channel n
TM21 = 0
Compare
match of sub-
channel n
Compare
match of sub-
channel n + 1
Output level
Active output Inactive
output
Active output Inactive
output
Active output Inactive
output
Active output Inactive
output
Remarks 1.
n = 1 to 4
2.
OTMEn1, OTMEn0: Bits 13, 12, 9, 8, 5, 4, 1, and 0 of timer 2 output control register 0 (OCTLE0)
Figure 9-62 shows the block diagram of timer 2.
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...