Figure 10-61: Torn1 Pin Output Example When Performing Additional Pulse Control - NEC V850E/PH2 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

(6)
Additional pulse control in high-accuracy T-PWM mode
In the high-accuracy T-PWM mode, additional pulse can be set by setting the LSB of the duty
setting registers (TRnCCR1 to TRnCCR3) to "1". With the additional pulse control function, finer
duty control can be performed (higher accuracy).
TORn1 pin output examples are provided below for when additional pulse control is and is not
performed. The settings used here are TRnCCR = 12, TRnDTC0, and TRnDTC1 = 0.

Figure 10-61: TORn1 Pin Output Example When Performing Additional Pulse Control

Count clock
Counter value
0
TRnCCR1 = 0
TRnCCR1 = 1
TRnCCR1 = 2
TRnCCR1 = 3
TRnCCR1 = 4
TRnCCR1 = 5
TRnCCR1 = 6
TRnCCR1 = 7
TRnCCR1 = 8
TRnCCR1 = 9
TRnCCR1 = 10
TRnCCR1 = 11
TRnCCR1 = 12
Remarks: 1. TRnCCR0 = 12, TRnDTC0 = 0, TRnDTC1 = 0
2. n = 0, 1
The locations where additional pulse control is performed are when an odd value has been set to
the TRnCCR1 register.
In the above figure, the arrows and numbers indicate the duty width of the TORn1 pin output within
1 cycle.
As can be seen in the above figure, when additional pulse control is performed, the output width
(duty ratio) of pin TORn1 can be controlled in 1 count clock steps from 12 clocks to 0 clocks.
Chapter 10 16-bit Inverter Timer/Counter R
1
2
3
4
2
4
6
8
User's Manual U16580EE3V1UD00
5
6
7
8
9
10
12
10
8
12
11
10
9
8
7
6
5
4
3
2
1
0
10
11
12
6
4
2
0
2
4
427

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mupd70f3187

Table of Contents