Fujitsu F2MCTM-16LX Computer Hardware User Manual


 
141
CHAPTER 8 LOW-POWER CONSUMPTION MODE
Notes:
Switching to a low-power consumption mode is performed by writing the low-power consumption mode
control register (LPMCR). Only the instructions listed in Table 8.3-2 should be used for this purpose. If
other instructions are used for switching to a low-power consumption mode, operation cannot be assured.
The standby mode transition instruction in Table 8.3-2 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 8.3-2
NOP
NOP
JMP $+3 ; jump to next instruction
MOV A, #H’ 10 ; any instruction
The devices does not guarantee its operation after returning from the standby 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 Mode Control Register (LPMCR) to Enter the Standby Mode"
in "8.8 Usage Notes on Low-Power Consumption Mode".
When word-length is used for writing the low-power consumption mode control register (LPMCR), even
addresses must be used. Using odd addresses to switch to a low-power consumption mode may result in a
malfunction.
To set a pin to high impedance when the pin is shared by a peripheral function and a port in stop mode,
watch mode or timebase timer mode, disable the output of peripheral functions, and set the STP bit of the
LPMCR register to 1 or set the TMD bit of the LPMCR register to 0.
Table 8.3-2 Instructions to be Used for Switching to a Low-power Consumption Mode
MOV io,#imm8 MOV dir,#imm8 MOV eam,#imm8 MOV eam,Ri
MOV io,A MOV dir,A MOV addr16,A MOV eam,A
MOV @Rli+disp8,A
MOVW io,#imm16 MOVW dir,#imm16 MOVW eam,#imm16 MOVW eam,RWi
MOVW io,A MOVW dir,A MOVW addr16,A MOVW eam,A
MOVW @Rli+disp8,A
SETB io:bp SETB dir:bp SETB addr16:bp
CLRB io:bp CLRB dir:bp CLRB addr16:bp