273
Chapter 9
Timer / Counter (Real Time Pulse Unit)
Preliminary User’s Manual U14913EE1V0UM00
(7)
Timer E sub-channel 1, 2 capture/compare control register 0 to 2 (CMSE120 to CMSE122)
The CMSE12n register controls the timer TMEn sub-channel x sub capture/compare register
(CVSExn) and the timer TMEn sub-channel x main capture/compare register (CVPExn) (x = 1, 2)
(n = 0 to 2).
This register can be read/written in 16-bit units.
Figure 9-20: Timer E Sub-Channel 1, 2 Capture/Compare Control Registers 0 to 2 (CMSE120 to
CMSE122) (1/2)
Remark:
x = 1, 2
n = 0 to 2
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Address
Initial
value
CMSE120
0
0
EEVE2 BFEE2 LNKE2 CCSE2 TB1E2 TB0E2
0
0
EEVE1 BFEE1 LNKE1 CCSE1 TB1E1 TB0E1 FFFFF64CH 0000H
CMSE121
0
0
EEVE2 BFEE2 LNKE2 CCSE2 TB1E2 TB0E2
0
0
EEVE1 BFEE1 LNKE1 CCSE1 TB1E1 TB0E1 FFFFF68CH 0000H
CMSE122
0
0
EEVE2 BFEE2 LNKE2 CCSE2 TB1E2 TB0E2
0
0
EEVE1 BFEE1 LNKE1 CCSE1 TB1E1 TB0E1 FFFFF6CCH 0000H
Bit Position
Bit Name
Function
13, 5
EEVEx
Enables/disables capture event detection by sub-channel x capture/compare register.
0: Don’t detect events
1: Detect events
12, 4
BFEEx
Specifies the buffer operation of sub-channel x sub capture/compare register (CVSExn).
0: Don’t use sub-channel x sub capture/compare register (CVSExn) as buffer.
1: Use sub-channel x sub capture/compare register (CVSExn) as buffer.
Remarks:
1. The operations in the capture register mode and compare register mode
when the sub-channel x sub capture/compare register (CVSExn) is not
used as a buffer are shown below. (BFEEx = 0)
• In capture register mode: The CPU can read both the master register
(CVPExn) and slave register (CVSExn). The next event is ignored
until the CPU finishes reading the master register.
TME0n capture is performed by the slave register, and TME1n
capture is performed by the master register.
• In compare register mode: The CPU writes to the slave register
(CVSExn), and immediately after, the same contents as those of the
slave register are written to the master register (CVPExn).
2. The operations in the capture register mode and compare register
mode when the sub-channel x sub capture/compare register (CVSExn)
is used as a buffer are shown below. (BFEEx = 1)
• In capture register mode: When the CPU reads the master register
(CVPExn), the master register updates the value held by the slave
register (CVSExn) immediately and once only, after the CPU read
operation. When a capture event occurs, the timer counter value at
that time is always saved in the slave register.
• In compare register mode: The CPU writes to the slave register
(CVSExn) and these contents are transferred to the master register
(CVPExn) specified by the corresponding LNKEx bit.
Содержание V850E/CA1 ATOMIC
Страница 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...