
R01UH0336EJ0102 Rev.1.02
Page 852 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 15 TSG2 (TSG20)
(6)
Additional Pulse Control in HT-PWM Mode
The HT-PWM mode can generate an additional pulse by setting 1 to the LSB
of the duty setting registers (TSnCMPU, TSnCMPV, and TSnCMPW). This
allows more precise control of the pulse duty than standard pulse control.
The following sections describe two examples of pulse output of TSG2nO1:
additional pulse control is used in one example and additional pulse control is
not used in another.
(a)
Example of Pulse Output when Additional Pulse Control Is Used
Figure 15-51 shows the additional pulse control when an odd value is set to
TSnCMPU.
The arrows and numerical values show the width of the duty cycle of the
TSG2nO1 output in one period.
When the additional pulse control is used as shown in Figure 15-51, the width
of the output of the TSG2nO1 (duty cycle) can be set within a range from the
width of 12 clock cycles to the width of 0 clock cycles in one-clock-cycle step.
Figure 15-51
Example of TSG2nO1 Output when Additional Pulse Control Is Used in
HT-PWM Mode
Note
TSnCMP0 = 12, TSnDTC0 = 0, TSnDTC1 = 0
0
2
4
6
8
10
12
10
8
6
4
2
0
2
4
11
10
9
8
7
6
5
4
3
2
1
0
12
3
4
16-bit counter
Count clock
TSnCMPU = 0
TSnCMPU = 1
TSnCMPU = 2
TSnCMPU = 3
TSnCMPU = 4
TSnCMPU = 5
TSnCMPU = 6
TSnCMPU = 7
TSnCMPU = 8
TSnCMPU = 9
TSnCMPU = 10
TSnCMPU = 11
TSnCMPU = 12
Counter value
2
1
2
1
5
6
7
8
9
10
11
12
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...