Fujitsu MB90335 Series Hardware Manual page 164

16-bit microcontroller
Table of Contents

Advertisement

MB90335 Series
■ Access to Low-power Consumption Mode Control Register
Transition to the low-power consumption modes (stop mode, sleep mode, and time-base timer 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 "■Notes on Accessing the Low-
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 time-base timer mode requests are performed at the same time,
requests are processed according to the following order.
Stop mode request > time-base timer mode request > sleep mode request
CM44-10137-6E
6.3 Low-power Consumption Mode Control Register (LPMCR)
; 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
FUJITSU MICROELECTRONICS LIMITED
CHAPTER 6 LOW-POWER CONSUMPTION MODE
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
143

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents