CHAPTER 9 TIMER/COUNTER FUNCTION
220
User’s Manual U15195EJ5V0UD
(1/2)
<7>
TORTO0
PSTO0
6
0
5
0
4
0
3
0
<2>
UPORT0
<1>
VPORT0
<0>
WPORT0
Address
FFFFF57EH
After reset
00H
<7>
TORTO1
PSTO1
6
0
5
0
4
0
3
0
<2>
UPORT1
<1>
VPORT1
<0>
WPORT1
Address
FFFFF5BEH
After reset
00H
Bit position
Bit name
Function
7
TORTOn
Specifies TO0n0 to TO0n5 output control.
0: Timer
output
1: Software
output
The change of the TO0n0 to TO0n5 signals during software output occurs when the
TORTOn bit is set (to 1) and a value is written to the UPORTn, VPORTn, and
WPORTn bits. A dead-time timer can also be used.
2
UPORTn
Specifies the TO0n0 (U phase)/TO0n1 (U phase) pin output value.
Caution If the UPORTn bit setting value is changed when TORTOn = 1, the
dead-time setting becomes valid for the TO0n0/TO0n1 output signal
in the same way as during normal timer operation.
1
VPORTn
Specifies the TO0n2 (V phase)/TO0n3 (V phase) pin output value.
Caution If the VPORTn bit setting value is changed when TORTOn = 1, the
dead-time setting becomes valid for the TO0n2/TO0n3 output signal
in the same way as during normal timer operation.
Remark
n = 0, 1
ALVTO bit: Bit 7 of the TOMRn register
ALVUB bit: Bit 6 of the TOMRn register
ALVVB bit: Bit 5 of the TOMRn register
UPORTn Operation
TO0n0
Inverted level of ALVTO bit setting
When ALVUB = 0
Level of ALVTO bit setting
0
TO0n1
When ALVUB = 1
Inverted level of ALVTO bit setting
TO0n0
Level of ALVTO bit setting
When ALVUB = 0
Inverted level of ALVTO bit setting
1
TO0n1
When ALVUB = 1
Level of ALVTO bit setting
VPORTn Operation
TO0n2
Inverted level of ALVTO bit setting
When ALVVB = 0
Level of ALVTO bit setting
0
TO0n3
When ALVVB = 1
Inverted level of ALVTO bit setting
TO0n2
Level of ALVTO bit setting
When ALVVB = 0
Inverted level of ALVTO bit setting
1
TO0n3
When ALVVB = 1
Level of ALVTO bit setting