
R01UH0336EJ0102 Rev.1.02
Page 319 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 9 Safety Functions
9.5.2
Details of Registers Related to Self-Diagnostic BIST
(1)
TGLOUTOE—TGLOUT Output Control Register
This register controls the output from the P8_0/TGLOUT pin.
Output from the P8_0/TGLOUT pin is controlled by the setting of the
TGLOUTOE0 bit. Port/control mode or TGLOUT mode is selected by the
value.
This register is a specified-sequence register; that is, access for writing is only
possible in a specified sequence.
Protection command register: CSCPCMD register
Protection status register: CSCPS register
Access
This register can be read/written in 8-bit units.
Address
FF42 003C
H
Initial value
This depends on the setting of the FOP23 bit and the state of the TGLOUT pin.
This register is initialized by a reset from a source other than SWRES and
BISTRES.
7
6
5
4
3
2
1
0
0
0
TGLOUT
STS
TGLOUT
LVL
0
0
0
TGLOUT
OE0
R
R
R
R
R
R
R
R/W
Table 9-10
Contents of the TGLOUTOE Register
Bit Position
Bit Name
Function
5
TGLOUTSTS
Shows the state of output from TGLOUT
0: Output on TGLOUT is stopped.
1: The toggled signal is being output on TGLOUT.
4
TGLOUTLVL
Shows the level being output on the TGLOUT pin
0: The low level is being output on TGLOUT.
1: The high level is being output on TGLOUT.
0
TGLOUTOE0
Specifies the behavior of the P8_0 pin
0: P8_0 is being controlled by the port registers.
1: P8_0 is being used for TGLOUT.
This bit is initialized by a reset from a source other than SWRES and
BISTRES. However, it reflects the setting of the FOP23 bit after a flash-reset
sequence.
The initial value is 1 when FOP23 = 0.
The initial value is 0 when FOP23 = 1.
When the bit is initialized by SWRES or BISTRES, the value will remain
unchanged from the previous value.