CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
350
User’s Manual U14492EJ3V0UD
(7) Timer 2 sub-channel 0, 5 capture/compare control register (CMSE050)
The CMSE050 register controls timer 2 sub-channel 0 capture/compare register (CVSE00) and timer 2 sub-
channel 5 capture/compare register (CVSE50).
This register can be read/written in 16-bit units.
14
0
13
EEVE5
12
0
2
CCSE0
3
LNKE0
4
0
5
EEVE0
6
0
7
0
8
0
9
0
10
CCSE5
11
LNKE5
15
0
1
0
0
0
CMSE050
Address
FFFFF64AH
Initial value
0000H
Bit Position
Bit Name
Function
13, 5
EEVEn
Enables/disables event detection by sub-channel n capture/compare register.
0: ED1 and ED2 signal inputs ignored (nothing is done even if these signals are
input).
1: Operation caused by ED1 and ED2 signal inputs enabled.
11, 3
LNKEn
Specifies capture event signal input from edge selection to ED1 or ED2.
0: In capture register mode, select ED1 signal input.
In compare register mode, LNKEn bit has no influence.
1: In capture register mode, select ED2 signal input.
In compare register mode, LNKEn bit has no influence.
10, 2
CCSEn
Selects capture/compare register operation mode.
0: Operate in capture register mode. The TM20 and TM21 count statuses can be
read with sub-channel 0 and sub-channel 5, respectively.
1: Operate in compare register mode. TM2m is cleared upon detection of match
between sub-channel n and TM2m.
Remark
m = 0, 1
n = 0, 5
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...