339
Chapter 10
16-bit Inverter Timer/Counter R
User’s Manual U16580EE3V1UD00
(11) TMRn option register 3 (TRnOPT3)
The TRnOPT3 register is an 8-bit register that controls A/D conversion trigger output (signal
TRnADTRG1).
This register can be read and written in 8-bit or 1-bit units.
RESET input clears this register to 00H.
Caution:
The settings of the TRnCCR5 and TRnCCR4 registers have an influence on the PWM
outputs of pins TORn5, TORn4 at the same time as the TRnADTRG0 signal output.
Therefore, if setting bits TRnAT15 to TRnAT12, it is recommended to set the
TRnOPT3 register as follows.
•
In the triangular wave PWM mode, when setting TRnAT15 = 1, set TRnOE5 = 0.
•
In the PWM mode and triangular wave PWM mode, when setting TRnAT14 = 1, set
TRnOE5 = 0.
•
In the triangular wave PWM mode, when setting TRnAT13 = 1, set TRnOE4 = 0
•
In the PWM mode and the triangular wave PWM mode, when setting TRnAT12 = 1,
set TRnOE4 = 0.
Figure 10-22:
TMRn Option Register 3 (TRnOPT3) (1/2)
Remark:
n = 0, 1
After reset:
00H
R/W
Address:
TR0OPT3 FFFFF589H
TR1OPT3 FFFFF5C9H
7
6
5
4
3
2
1
0
TRnOPT3
0
0
TRnAT15 TRnAT14 TRnAT13 TRnAT12 TRnAT11 TRnAT10
(n = 0, 1)
TRnAT15 TRnAT14
A/D Converter Trigger Signal (TRnADTRG1) Generation with
Occurrence of Compare Match Interrupt (INTTRnCCR5)
0
0
No trigger signal is generated when INTTRnCCR5 occurs.
0
1
Trigger signal is generated, when INTTRnCCR5 occurs and TMRn
is counting up.
1
0
Trigger signal is generated, when INTTRnCCR5 occurs and TMRn
is counting down.
1
1
Trigger signal is generated, when INTTRnCCR5 occurs in any
state (TMRn is counting up or down)
Cautions: 1. Bit TRnAT15 can be set to 1 only in the triangular wave PWM mode
and high-accuracy T-PWM mode. In all other modes, be sure to set
this bit to 0.
2. Bit TRnAT14 can be set to 1 only in the PWM mode, triangular wave
PWM mode, high-accuracy T-PWM mode, and PWM mode with dead
time. In all other modes, be sure to set this bit to 0.
Содержание 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: ......