Fujitsu F2MC-16LX Hardware Manual page 151

Mb90470 series 16-bit microcontroller
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

I Accessing low-power consumption mode control register
Writing in the low-power consumption mode control register executes a change to the low-
power consumption mode (stop, sleep, timebase timer and watch modes). Use the instructions
listed in Table 6.3-2 "Instructions used for change to low-power consumption mode".
The low-power consumption mode transition instruction in Table 6.3-2 "Instructions used for
change to low-power consumption mode" must always be followed by an array of instructions
highlighted by a line below.
MOV LPMCR,#H'XX ; the low-power consumption mode transition instruction in table 6.3-2
NOP
NOP
JMP
MOV A,#H'10
The devices does not guarantee its operation after returning from the low-power consumption
mode if you place an array of instructions other than the one enclosed in the dotted line.To
access the low-power consumption mode control register (LPMCR) with C language, refer to
"Å° Notes on Accessing the Low-Power Consumption Made Control Register (LPMCR) to Enter
the Standby Mode" in the section 6.8 "Notes on Using the Low-Power Consumption
Mode".When writing to the low-power consumption mode control register with a length of words,
use even addresses only. Performing transition by using an odd address for writing may result
in operation errors.
Any instruction may be used to control functions not listed in Table 6.3-1 "Functions of bits in
low-power consumption mode control register (LPMCR)".
Table 6.3-2 Instructions used for change to low-power consumption mode
MOV io,#imm8
MOV io,A
MOV @RLi+disp8,A
MOVW io,#imm16
MOVW io,A
MOVW @RLi+disp8,A
SETB io:bp
CLRB io:bp
I Priority of STP, SLP, and TMD bits
Requests are processed with the following order of priority in the event that stop mode, sleep
mode, and timebase timer mode requests are issued simultaneously.
Stop-mode request > Timebase timer mode request > Sleep mode request
$+3
; jump to next instruction
; any instruction
MOV dir,#imm8
MOV dir,A
MOVW dir,#imm16
MOVPW addr24,A
SETB dir:bp
CLRB dir:bp
CHAPTER 6 LOW-POWER CONSUMPTION MODE
MOV eam,#imm8
MOV addr16,A
MOVW eam,#imm16
MOVW addr16,A
SETB addr16,A
CLRB addr16,A
MOV eam,Ri
MOV eam,A
MOVW eam,RWi
MOVW eam,A
135

Advertisement

Table of Contents
loading

Table of Contents