
R01UH0336EJ0102 Rev.1.02
Page 743 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 15 TSG2 (TSG20)
(13)
TSG2n Status Register 2 (TSnSTR2)
This register controls the flags.
Access
This register can only be read in 16-bit units.
Address
<
TSG2n_base
1> + 018
H
Initial value
0000
H
This register is initialized by a reset from any source.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
TSn
TBF2
TSn
TBF1
TSn
TBF0
TSn
PPF
TSn
PEF
TSn
TDF
TSn
NDF
TSn
PRF
TSn
PTF
-
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
Table 15-19
TSnSTR2 Register Contents (1/2)
Bit Position
Bit Name
Function
9
TSnTBF2
Indicates whether the simultaneous active state of the positive phase and
inverse phase is detected when TSnCTL1.TSnTBA2 is 1.
0: Positive phase (TSG2nO5) and inverse phase (TSG2nO6) are not active
simultaneously.
1: Positive phase (TSG2nO5) and inverse phase (TSG2nO6) are active
simultaneously.
•
TSnTBF2 is set to 1 when the simultaneous active state of the positive
phase (TSG2nO5) and inverse phase (TSG2nO6) is detected, and an error
interrupt (INTTSG2nIER) is generated. TSnTBF2 can be cleared by writing
1 to TSnSTC.TSnTBR2.
•
The simultaneous active state is not detected when TSnTBA2 = 0.
8
TSnTBF1
Indicates whether the simultaneous active state of the positive phase and
inverse phase is detected when TSnCTL1.TSnTBA1 is 1.
0: Positive phase (TSG2nO3) and inverse phase (TSG2nO4) are not active
simultaneously.
1: Positive phase (TSG2nO3) and inverse phase (TSG2nO4) are active
simultaneously.
•
TSnTBF1 is set to 1 when the simultaneous active state of the positive
phase (TSG2nO3) and inverse phase (TSG2nO4) is detected, and an error
interrupt (INTTSG2nIER) is generated. TSnTBF1 can be cleared by writing
1 to TSnSTC.TSnTBR1.
•
The simultaneous active state is not detected when TSnTBA1 = 0.
7
TSnTBF0
Indicates whether the simultaneous active state of the positive phase and
inverse phase is detected when TSnCTL1.TSnTBA0 is 1.
0: Positive phase (TSG2nO1) and inverse phase (TSG2nO2) are not active
simultaneously.
1: Positive phase (TSG2nO1) and inverse phase (TSG2nO2) are active
simultaneously.
•
TSnTBF0 is set to 1 when the simultaneous active state of the positive
phase (TSG2nO1) and inverse phase (TSG2nO2) is detected, and an error
interrupt (INTTSG2nIER) is generated. TSnTBF0 can be cleared by writing
1 to TSnSTC.TSnTBR0.
•
The simultaneous active state is not detected when TSnTBA0 = 0.