530
Chapter 11
16-bit Timer/Event Counter T
User’s Manual U16580EE3V1UD00
Figure 11-37:
Counter Hold through Bit TTnECC Timings (4/5)
(f) Basic Timing in Encoder Compare Mode (2)
<Setting conditions>
•
TTnCTL0: TTnMD3 to 0 = 1000B
Encoder compare mode
•
TTnCTL1: TTnUDS1, 0 = 11B
Judgment of up/down count with count judgment
mode 4
•
TTnCTL1: TTnECM1, 0 = 00B
No clear operation upon match between counter value
and compare
•
TTnCTL1: TTnLDE = 0
No loading of setting value of TTnCCR0 register (p)
to counter
•
TTnIOC3: TTnSCE = 0,
TTnECS1-0 = 01B
Valid edge detection clear (rising edge specified)
Since TTnUDS1, 0 that control the count operation are set to 11B, the counter is operated through
detection of the phase of pins TENCTn0 and TENCTn1.
A compare match interrupt (INTTTnCC0) is output upon a match between the counter value and
the TTnCCR0 buffer register (p).
A compare match interrupt (INTTTnCC1) is output upon a match between the counter value and
the TTnCCR1 buffer register (q).
The counter is not cleared upon a match with the TTnCCR0 register or the TTnCCR1 register.
Clearing of the counter to 0000H is done upon detection of the valid edge of the encoder clear
input (pin TECRTn) when TTnSCE = 0. When TTnECS = 01B is set, the counter is cleared to
0000H in synchronization with the operation clock, following detection of the rising edge of the
TECRTn pin input.
Remark:
n = 0, 1
TTnCCR0
TTnCCR1
INTTTnCC0
p
q
TECRTn
INTTTnCC1
TTnESF
p
q
TTnCCR0
TTnCCR1
0000H
TENCTn0
TENCTn1
Encoder
counter
Содержание MuPD70F3187
Страница 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Страница 16: ...16 User s Manual U16580EE3V1UD00 ...
Страница 28: ...28 User s Manual U16580EE3V1UD00 ...
Страница 32: ...32 User s Manual U16580EE3V1UD00 ...
Страница 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 192: ...192 Chapter 5 Memory Access Control Function μPD70F3187 only User s Manual U16580EE3V1UD00 MEMO ...
Страница 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Страница 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Страница 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Страница 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Страница 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Страница 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Страница 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Страница 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Страница 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Страница 1053: ......