106
Chapter 3
CPU Function
Preliminary User’s Manual U15839EE1V0UM00
3.6.3 Peripheral Status Register (PHS)
The flag PRERR in the peripheral status register PHS indicates protection error occurrence.
This register can be read/written in 8-bit units or bit-wise.
Figure 3-19:
Peripheral Status Register (PHS) Format
Protection error detection:
If an incorrect write operation in a sequence without accessing the command register is performed to a
protected internal register, the register is not written to, causing a protection error.
Writing "0" to the PRERR flag after the value is checked clears the error.
Operation conditions of PRERR flag:
Set condition:
<1>
If the most recent store instruction for peripheral I/O register operation is not an operation to
write the PHCMD register and if data is written to the specific register.
<2>
If the first store instruction operation after data has been written to the PHCMD register is to
memory or peripheral I/Os other than those of a specified register.
Reset condition:
<1>
When "0" is written to the PRERR flag of the PHS register.
<2>
On system reset.
7
6
5
4
3
2
1
0
Address
R/W
At Reset
PHS
0
0
0
0
0
0
0
PRERR
FFFFF802H
R/W
00H
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......