
R01UH0336EJ0102 Rev.1.02
Page 882 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 15 TSG2 (TSG20)
(4)
Timer Output in 120-DC Mode
In 120-DC mode, the PWM output is controlled with TSnPAT0W, TSnPAT1W,
and TSnCMP1 to TSnCMP12. TSnPAT0W, TSnCMP1, TSnCMP2, TSnCMP5,
TSnCMP6, TSnCMP9, and TSnCMP10 are set to control the output of
TSG2nO1, TSG2nO3, and TSG2nO5 pins. TSnPAT1W, TSnCMP3,
TSnCMP4, TSnCMP7, TSnCMP8, TSnCMP11, and TSnCMP12 are set with
the output of SG2nO2, TSG2nO4, and TSG2nO6 pins.
With PWM output control, eight types of output patterns can be selected for
each of TSG2nO1, TSG2nO3, and TSG2nO5 pins and TSG2nO2, TSG2nO4,
and TSG2nO6 pins.
(m = 0, 1, 2, 3, 4, 5)
Figure 15-63
TSG2nO1, TSG2nO3, TSG2nO5 Pin Output of Each Output Pattern
Table 15-74
TSnPAT0W Set Value and Output Control
PATmT Value
Output Control
000
Fixed to low
001
PWM output set with TSnCMP1
010
PWM output set with TSnCMP2
011
PWM output set with TSnCMP5
100
PWM output set with TSnCMP6
101
PWM output set with TSnCMP9
110
PWM output set with TSnCMP10
111
Fixed to high
(1) PATmT = 000B
(2) PATmT = 001B
(3) PATmT = 010B
(4) PATmT = 011B
(5) PATmT = 100B
(6) PATmT = 101B
(7) PATmT = 110B
(8) PATmT = 111B
TSG2nO1,TSG2nO3,
TSG2nO5
TSG2nO1,TSG2nO3,
TSG2nO5
TSG2nO1,TSG2nO3,
TSG2nO5
TSG2nO1,TSG2nO3,
TSG2nO5
TSG2nO1,TSG2nO3,
TSG2nO5
TSG2nO1,TSG2nO3,
TSG2nO5
TSG2nO1,TSG2nO3,
TSG2nO5
TSG2nO1,TSG2nO3,
TSG2nO5
TSnCNT
TSnCMP1
TSnCMP5
TSnCMP6
TSnCMP10
TSnCMP9
TSnCMP2
“L”
“H”