
R01UH0336EJ0102 Rev.1.02
Page 360 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 10 Safety Guardian (SGA)
10.4.2
SGA Registers Details
(1)
SGAmESET SGAm Error Set Trigger Register
This register is used to set error output signals to the low (active) level.
The given error output is immediately set to the active level after a value is
written to this register. This response is not maskable.
Access
This register can be written in 32-bit units. Writing to this register is protected
by a sequence of instructions.
Address
<SGAm_base>
Initial value
0000 0000
H
This register is initialized by a reset from any source.
Caution
Setting the error output via the SGAmESET register will generate the error (in
the SGAmESSTR1.SGAmSSE108 and SGAmESSTR1.SGAmSSE130 bits).
Therefore, the following has to be set in advance.
1) Set the SGAEMK1.SGAEMK108 bit to “masked”.
2) Prevent the generation of SGATI interrupts by setting the
SGAICFG1.SGAIE108 bit to “prohibited”.
3) Prevent generation of the SGARES reset by setting the
SGAIRCFG1.SGAIRE108 bit to “prohibited”.
4) Set the error output bit in the SGAmESET register.
5) Clear error flags by setting the SGAESSTC1.SGACLSSE108 and
SGAESSTC1.SGACLSSE130 bits.
6) Make the following settings in accord with the condition of usage for the
SGATERRIN40 error.
- If an SGATERROUTZ error is being output, set the
SGAEMK1.SGAEMK108 bit to “not masked”.
- If an SGATI interrupt is being generated, set the SGAICFG1.SGAIE108 bit
to “enabled”.
- If a SGARES reset is being generated, set the SGAIRCFG1.SGAIRE108
bit to “enabled”.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
SGAm
EST
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
Table 10-11
SGAmEST Register Contents
Bit position Bit Name
Function
0
SGAmEST
SGA error set trigger bit
0: Writing 0 to this bit is ignored.
1: Initiate an active state of the SGATERROUTZ (low level).