NEC V850E/MA1 User Manual page 305

32-bit single-chip microcontroller
Hide thumbs Also See for V850E/MA1:
Table of Contents

Advertisement

9.3.5 Peripheral status register (PHS)
If a write operation to the protection-targeted internal registers is not performed in the correct sequence, including
access to the command register, writing is not performed and a protection error is generated, setting the status flag
(PRERR) to 1. This flag is a cumulative flag. After checking the PRERR flag, it is cleared to 0 by an instruction.
This register can be read or written in 8-bit or 1-bit units.
7
6
PHS
0
0
Bit position
Bit name
0
PRERR
The operating conditions of the PRERR flag are as follows.
Set conditions:
<1> If the operation of the relevant store instruction for the peripheral I/O is not a write
<2> If the first store instruction operation after the write operation to the PHCMD register is for
Reset conditions: <1> If the PRERR flag of the PHS register is set to 0.
<2> If the system is reset
CHAPTER 9 CLOCK GENERATION FUNCTION
5
4
3
0
0
0
Protection Error
0: Protection error has not occurred
1: Protection error occurred
operation for the PHCMD register, but the peripheral specific register is written to.
memory other than the specific registers and peripheral I/O.
User's Manual U14359EJ4V0UM
2
1
<0>
0
0
PRERR FFFFF802H
Function
Address
After reset
00H
305

Advertisement

Table of Contents
loading

Table of Contents