NEC V850E/MA1 User Manual page 309

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

Advertisement

9.5.2 Control registers
(1) Power-save mode register (PSMR)
This is an 8-bit register that controls power-save mode. It is effective only when the STB bit of the PSC
register is set to 1.
Writing to the PSMR register is executed by the store instruction (ST/SST instruction) and a bit manipulation
instruction (SET1/CLR1/NOT1 instruction).
This register can be read or written in 8-bit or 1-bit units.
7
6
PSMR
0
0
Bit position
Bit name
0
PSM
(2) Command register (PRCMD)
This is an 8-bit register that is used to set protection for write operations to registers that can significantly
affect the system so that the application system is not halted unexpectedly due to an inadvertent program
loop.
Writing to the first specific register (power-save control register (PSC)) is only valid after first writing to the
PRCMD register. Because of this, the register value can be overwritten only by the specified sequence,
preventing an illegal write operation from being performed.
This register is write-only in 8-bit units. When it is read, undefined data is read out.
7
6
PRCMD
REG7
REG6
Bit position
Bit name
7 to 0
REG7 to REG0 Registration Code (arbitrary 8-bit data)
CHAPTER 9 CLOCK GENERATION FUNCTION
5
4
3
0
0
0
Power Save Mode
Specifies IDLE mode or software STOP mode.
0: Switches the system to IDLE mode
1: Switches the system to software STOP mode
5
4
3
REG5
REG4
REG3
The specific register targeted is the power-save control register (PSC).
User's Manual U14359EJ4V0UM
2
1
<0>
0
0
PSM
Function
2
1
0
REG2
REG1
REG0
Function
Address
After reset
FFFFF820H
00H
Address
After reset
FFFFF1FCH Undefined
309

Advertisement

Table of Contents
loading

Table of Contents