
R01UH0336EJ0102 Rev.1.02
Page 361 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 10 Safety Guardian (SGA)
(2)
SGAmECLR - SGAm Error Clear Trigger Register
This register is used to deactivate error output (by placing the signal at the high
level). If no further errors are pending, the setting is immediately effective for
the signal on the error pin.
Access
This register can be written in 32-bit units. Writing to this register is protected
by a sequence of instructions.
Address
<SGAm_base> + 4
H
Initial value
0000 0000
H
This register is initialized by a reset from any source.
Caution 1. Clearing of SGATERROUTZ is only possible if all errors, not masked by
SGAEMK0/1, are cleared beforehand.
Caution 2. Clearing the error output via the SGAmECLR register will generate the error (in
the SGAmESSTR1.SGAmSSE108 bit).
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) Clear the error output bit in the SGAmECLR register.
5) Clear error flags by setting the SGAESSTC1.SGACLSSE108 bit.
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”.
Caution 3. Once the setting for dynamic mode has been made, we recommend not
switching back to non-dynamic mode. This is because doing so raises the
possibility of glitches at times of error output. For details, see Section 10.3.3,
Operations for Error Output.
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
ECT
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
Table 10-12
SGAmECLR Register Contents
Bit position
Bit Name
Function
0
SGAmECT
SGA error clear trigger bit
0: Writing 0 to this bit is ignored.
1: Initiate an inactive state of the SGATERROUTZ (high level).