Control Registers - NEC UPD703116 User Manual

32-bit single-chip microcontrollers
Table of Contents

Advertisement

8.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/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 erroneous program
execution. 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 can only be written in 8-bit units. The undefined data is read out if read.
7
6
PRCMD
REG7
REG6
Bit position
Bit name
7 to 0
REG7 to
REG0
CHAPTER 8 CLOCK GENERATION FUNCTION
5
4
3
0
0
0
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
Registration code (arbitrary 8-bit data)
The specific register targeted is the power save control register (PSC).
User's Manual U14492EJ5V0UD
2
1
<0>
0
0
PSM
Function
2
1
0
REG2
REG1
REG0
Function
Address
Initial value
FFFFF820H
00H
Address
Initial value
FFFFF1FCH Undefined
207

Advertisement

Table of Contents
loading

Table of Contents