Fujitsu F2MC-16LX Hardware Manual page 165

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

Advertisement

Access to Low-power Consumption Mode Control Register
Transition to the low-power consumption modes (stop mode, sleep mode, timebase timer mode, and watch
mode) by writing to the low-power consumption mode control register is made, in this case, be sure to use
the instructions 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 LPMCR, #H'XX
NOP
NOP
JMP $+3
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 "
Power Consumption Mode Control Register (LPMCR) to Enter the Standby Mode" in the section 6.8
"Precautions when Using Low-Power Consumption Mode".
To write word length data into the low-power consumption mode control register (LPMCR), use even
addresses. Transition to the low-power consumption mode is made by writing at odd addresses may cause
an erroneous operations.
When you control other functions than the functions listed in Figure 6.3-1, you may use any instruction.
Table 6.3-2 List of Instructions Used for Transition 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 Level of STP, SLP, and TMD Bit
When the stop mode, sleep mode, and watch mode • timebase timer mode requests are performed at the
same time, requests are processed according to the following order.
Stop mode request > watch mode • timebase timer mode request > sleep mode request
CHAPTER 6 LOW-POWER CONSUMPTION MODE
; the low-power consumption mode transition instruction in Table 6.3-2
; jump to next instruction
; any instruction
MOV dir,#imm8
MOV dir,A
MOVW dir,#imm16
MOVW dir,A
SETB dir:bp
CLRB dir:bp
Notes on Accessing the Low-
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
149

Advertisement

Table of Contents
loading

Table of Contents