337
Chapter 10
16-bit Inverter Timer/Counter R
User’s Manual U16580EE3V1UD00
(10) TMRn option register 2 (TRnOPT2)
The TRnOPT2 register is an 8-bit register that controls A/D conversion trigger output
(TRnADTRG0 signal).
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
output of pins TORn5 and TORn4 at the same time as the TRnADTRG0 signal output.
Therefore, if setting bits TRnAT05 to TRnAT02, it is recommended to set the
TRnOPT3 register as follows.
•
In the triangular wave PWM mode, when setting TRnAT05 = 1, set TRnOE5 = 0.
•
In the PWM mode and triangular wave PWM mode, when setting TRnAT04 = 1, set
TRnOE5 = 0.
•
In the triangular wave PWM mode, when setting TRnAT03 = 1, set TRnOE4 = 0
•
In the PWM mode and the triangular wave PWM mode, when setting TRnAT02 = 1,
set TRnOE4 = 0.
Figure 10-21:
TMRn Option Register 2 (TRnOPT2) (1/2)
Remark:
n = 0, 1
After reset:
00H
R/W
Address:
TR0OPT2 FFFFF588H
TR1OPT2 FFFFF5C8H
7
6
5
4
3
2
1
0
TRnOPT2
0
0
TRnAT05 TRnAT04 TRnAT03 TRnAT02 TRnAT01 TRnAT00
(n = 0, 1)
TRnAT05 TRnAT04
A/D Converter Trigger Signal (TRnADTRG0) 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 TRnAT05 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 TRnAT04 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.
Summary of Contents for V850E/PH2
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 192: ...192 Chapter 5 Memory Access Control Function PD70F3187 only 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: ......