278
Chapter 9
Timer / Counter (Real Time Pulse Unit)
Preliminary User’s Manual U14913EE1V0UM00
(10) Timer E capture/compare status registers 0 to 2 (CCSTATE0 to CCSTATE2)
The CCSTATEn register indicates the status of 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 to 4) (n = 0 to 2).
This register can be read/written in 16-, 8-bit units.
Figure 9-23: Timer E Capture/Compare Status Registers 0 to 2 (CCSTATE0 to CCSTATE2)
Caution: The BFFEx1 and BFFEx0 bits are read-only bits.
Remark:
x = 1 to 4
n = 0 to 2
m = 12, 34
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Address
Initial
value
CCSTATE0
0 CEFE4 BFFE41 BFFE40 0 CEFE3 BFFE31 BFFE30 0 CEFE2 BFFE21 BFFE20 0 CEFE1 BFFE11 BFFE10 FFFFF666H 0000H
CCSTATE1
0 CEFE4 BFFE41 BFFE40 0 CEFE3 BFFE31 BFFE30 0 CEFE2 BFFE21 BFFE20 0 CEFE1 BFFE11 BFFE10 FFFFF6A6H 0000H
CCSTATE2
0 CEFE4 BFFE41 BFFE40 0 CEFE3 BFFE31 BFFE30 0 CEFE2 BFFE21 BFFE20 0 CEFE1 BFFE11 BFFE10 FFFFF6E6H 0000H
Bit Position
Bit Name
Function
14, 10, 6, 2
CEFEx
Indicates the capture/compare event occurrence status.
0: In capture register mode: No capture operation has occurred.
In compare register mode: No compare match has occurred.
1: In capture register mode: At least one capture operation has occurred.
In compare register mode: At least one compare match has occurred.
Caution:
The CEFEx bit can be cleared (0) by performing write access to the
CCSTATEn register while no capture operation or compare match
occurs. Bit manipulation instructions are not allowed.
13, 12, 9, 8,
5, 4, 1, 0
BFFEx1,
BFFEx0
Indicates the capture buffer status.
BFFEx1
BFFEx0
Capture Buffer Status
0
0
No value in buffer
0
1
Sub-channel x master register (CVPExn) contains a cap-
ture value. Slave register (CVSExn) does not contain a
value.
1
0
Both sub-channel x master register (CVPExn) and slave
register (CVSExn) contain a capture value.
1
1
Unused
Caution:
The BFFEx1 and BFFEx0 bits return a value only when sub-channel
x sub capture/compare register (CVSExn) buffer operation (bit
BFEEx of CMSEmn register = 1) is selected or when capture register
mode (bit CCSEx of CMSEmn register = 0) is selected. Zero is read
when the compare register mode (CCSEx bit = 1) is selected.
Содержание 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 ...