424
Chapter 10
16-bit Inverter Timer/Counter R
User’s Manual U16580EE3V1UD00
(4)
Counter operation in high-accuracy T-PWM mode
At initial value FFFEH, the TRnDTC0 value is loaded to the counter immediately after TRnCE = 1
is set, and the counter counts up in +2 steps. Then, upon a match with TRnCCR0 to TRnDTC1,
the counter counts down in
-
2 steps. The counter operation is as follows.
Figure 10-57:
Counter Operation in High-Accuracy T-PWM Mode
Remark:
Minimum counter value:
TRnDTC0
Maximum counter value:
TRnCCR0 - TRnDTC1
Carrier wave cycle:
(TRnCCR0-TRnDTC0-TRnDTC1) × count clock cycle
At initial value FFFEH, the value of TRnDTC0 register is loaded to the sub-counter immediately
after TRnCE = 1 is set. Then, until a match with 0000H, the sub-counter counts down in
-
2 steps,
and the counter value is loaded to the sub-counter at the counter’s up count
→
down count switch
timing. The TRnDTC0 register goes on counting up, and upon a match with the TRnCCR0
register, starts counting down in
-
2 steps. At the same time, upon a match between the counter
and the TRnDTC0 register, the counter value is loaded and down count is continued.
The sub-counter operation is as follows.
Figure 10-58:
Sub-Counter Operation in High-Accuracy T-PWM Mode
FFFEH
0000H
TRnCCR0
TRnDTC0
TRnCCR0-
TRnDTC1
TRnCNT
+2
count
2
count
TRnCE = “1”
FFFEH
0000H
TRnCCR0
TRnDTC0
TRnCCR0-
TRnDTC1
TRnCNT
+2
count
2
count
TRnCE = “1”
TRnSBC
Load
Load
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: ......