Fujitsu MB90480 Series Hardware Manual page 152

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 6 LOW-POWER CONSUMPTION MODE
Accessing low-power consumption mode control register
Writing in the low-power consumption mode control register executes a change to the standby
mode (stop, sleep, timebase timer and watch modes). Use the instructions listed in Table 6.3-2.
The low-power consumption mode transition instruction in Table 6.3-2 must always be followed
by an array of instructions highlighted by a line below.
MOV
NOP
NOP
JMP
MOV
The devices does not guarantee its operation after releasing from the standby mode if you place
an array of instructions other than the one enclosed in the line.
To access the low-power consumption mode control register (LPMCR) with C language, refer to
"6.8 Caution on Using 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.
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
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
130
LPMCR,#H'xx ; The low-power consumption mode transition instruction in Table
6.3-2.
$+3
; Jump to next instruction
A,#H'10
; Any instruction
MOV dir,#imm8
MOV dir,A
MOVW dir,#imm16
MOVW dir,A
SETB dir:bp
CLRB dir:bp
MOV eam,#imm8
MOV addr16,A
MOVW eam,#imm16
MOVW addr16,A
SETB addr16:bp
CLRB addr16:bp
MOV eam,Ri
MOV eam,A
MOVW eam,RWi
MOVW eam,A

Advertisement

Table of Contents
loading

Table of Contents