480
Chapter 11
16-bit Timer/Event Counter T
User’s Manual U16580EE3V1UD00
11.5 Basic
Operation
11.5.1 Basic counter operation
This section describes the basic operation of the counter. For details, refer to chapter
.
(1)
Counter start operation
(a) Encoder compare mode
The count operation is controlled by the phases of pins TENCTn0 and TENCTn1.
When TTnCE = 0 and TTnECC = 0, the counter is initialized by the TTnTCW register and the
count operation is started. (The setting value of the TTnTCW register is loaded to the counter at
the timing when TTnCE changes from 0 to 1.)
(b) Triangular wave PWM MODE
The counter starts counting from initial value FFFFH.
It counts up FFFFH, 0000H, 0001H, 0002H, 0003H…
Following count up operation, the counter counts down upon a match with the TTnCCR0 register.
(c) Modes other than the above
The counter starts counting from initial value FFFFH.
It counts up FFFFH, 0000H, 0001H, 0002H, 0003H…
(2)
Counter clear operation
There are the following five counter clear causes.
•
Clear through match between counter value and compare setting value.
•
Capture and clear through capture input
•
Counter clear through encoder clear input (TECRTn pin)
•
Counter clear through match with clear condition level
•
Clear through clear signal input (TTnSYCI) for synchronization function during slave operation
Remark:
n = 0, 1
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: ......