470
Chapter 11
16-bit Timer/Event Counter T
User’s Manual U16580EE3V1UD00
Figure 11-8:
TMTn Control Register 2 (TTnCTL2) (2/2)
Remarks: 1.
When bits TTnUDS1 and TTnUDS0 are set to 10B or 11B, the settings of bits TTnEIS1
and TTnEIS0 of the TTnIOC3 register are invalid, and these bits are fixed to the setting
for detection of both edges.
2.
n = 0, 1
TTnECM0
Encoder Clear Mode on Match of Counter and TTnCCR0 Register
0
No clear condition
1
When the counter and TTnCCR0 register match, clear the counter if the next
count is a down count (TTnESF = 0)
Remark:
The setting of bit TTnECM0 is valid in the encoder compare mode.
TTnUDS1 TTnUDS0
Encoder Operation Mode
0
0
Upon detection of the valid edge of the A phase of encoder input
(TENCTn0 pin), the following count operation is performed in the B
phase of encoder input.
•
When "high", count down.
•
When "low", count up.
0
1
Count up upon detection of valid edge of A phase of encoder input
(TENCTn0 pin).
Count down upon detection of valid edge of B phase of encoder
input (TENCTn1 pin).
1
0
Count up at rising edge of A phase of encoder input (TENCTn0
pin). Count down at falling edge of A phase of encoder input.
However, count operation is performed only when B phase of
encoder input (TENCTn1 pin) is “low”.
1
1
Detection of both edges of phase A of encoder input (TENCTn0
pin)/phase B of encoder input (TENCTn1 pin).
Judgment of count operation based on combination of detection
edge and input level.
Summary of Contents for MuPD70F3187
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 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: ......