
R01UH0336EJ0102 Rev.1.02
Page 907 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 15 TSG2 (TSG20)
15.11.5
Software Output Control Function
Software output control function can be used in HT-PWM mode, SP-PWM
mode, and 120-DC mode. This function can switch six output patterns for the
TSG2nO1 to TSG2nO6 pins using TSnOPT0.TSnSOC, TSnIDC, and
TSnOPT1.TSnSPC2 to TSnSPC0.
When TSnSOC is switched from 0 to 1, the output control method of the
TSG2nO1 to TSG2nO6 pins is switched to the software output control
immediately. On the contrast, when TSnSOC is switched from 1 to 0, the
software output control is released at the reload timing.
Note
ACT: Active level is output.
INACT: Inactive level is output.
Table 15-77
Register Description on Software Output Control Function
Register
Setting
TSnOPT0.TSnSOC
TSnSOC = 1
TSnOPT0.TSnSTE
TSnSTE = 0
TSnOPT1.TSnSPC2 to TSnSPC0
Set output patterns listed in Table 15-78 and Table 15-79.
TSnOPT0.TSnIDC
Set output pattern (rotation direction).
Table 15-78
Output Pattern of Software Output Control (TSnOPT0.TSnIDC = 0)
TSnOPT0.TSnSOC = 1, TSnSTE = 0, TSnIDC = 0
Output Pin
TSnSTR1.TSnOPF2 to TSnOPF0
101
100
110
010
011
001
000
111
TSG2nO1
ACT
ACT
ACT
INACT
INACT
INACT
INACT
ACT
TSG2nO2
INACT
INACT
INACT
ACT
ACT
ACT
ACT
INACT
TSG2nO3
INACT
INACT
ACT
ACT
ACT
INACT
INACT
ACT
TSG2nO4
ACT
ACT
INACT
INACT
INACT
ACT
ACT
INACT
TSG2nO5
ACT
INACT
INACT
INACT
ACT
ACT
INACT
ACT
TSG2nO6
INACT
ACT
ACT
ACT
INACT
INACT
ACT
INACT
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...