464
Chapter 11
16-bit Timer/Event Counter T
User’s Manual U16580EE3V1UD00
(3)
TMTn counter write buffer register (TTnTCW)
The TTnTCW register is a write buffer register that can write the counter value.
The setting value is valid only in the encoder compare mode, encoder capture mode. In all other
modes, the setting value is invalid.
This register can be read and written in 16-bit units.
Reset input clears this register to 0000H.
Remark:
When TTnECC of register TTnCTL2 = 0, the setting value is loaded to the counter when the
TTnCE bit is set (to 1). (When TTnECC = 1, the counter holds its value, so it is not
reloaded.)
Figure 11-4:
TMTn Counter Write Buffer Register (TTnTCW)
(4)
TMTn counter read buffer register (TTnCNT)
The TTnCNT register is a read buffer register that can read the counter value.
This register can be read in 16-bit units only.
Reset input clears this register to 0000H.
Remark:
When, in the encoder compare mode, encoder capture mode, the value of the TTnCE bit is
changed from “1” to “0”, the value that can be read by the TTnCNT register differs according
to the following conditions.
•
When bit TTnECC of the TTnCTL2 register = 0, 0000H can be read.
•
When bit TTnECC = 1, the value held when bit TTnCE was cleared to "0" can be read.
Figure 11-5:
TMTn Counter Read Buffer Register (TTnCNT)
After reset:
0000H
R/W
Address:
TT0TCW FFFFF990H,
TT1TCW FFFFF9A0H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TTnTCW
After reset:
0000H
R/W
Address:
TT0CNT FFFFF69EH,
TT1CNT FFFFF6AEH
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TTnCNT
Summary of Contents for V850E/PH2
Page 6: ...6 Preface User s Manual U16580EE3V1UD00...
Page 16: ...16 User s Manual U16580EE3V1UD00...
Page 28: ...28 User s Manual U16580EE3V1UD00...
Page 32: ...32 User s Manual U16580EE3V1UD00...
Page 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO...
Page 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO...
Page 192: ...192 Chapter 5 Memory Access Control Function PD70F3187 only User s Manual U16580EE3V1UD00 MEMO...
Page 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO...
Page 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00...
Page 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO...
Page 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00...
Page 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO...
Page 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO...
Page 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO...
Page 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO...
Page 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO...
Page 1052: ...1052 User s Manual U16580EE3V1UD00...
Page 1053: ......