R01UH0136EJ0210 Rev.2.10
Page 112 of 800
Jul 31, 2012
M16C/64A Group
9. Power Control
9.2.2
Flash Memory Control Register 2 (FMR2)
FMR22 (Slow read mode enable bit) (b2)
This bit enables the mode which reduces the amount of current consumption when reading the flash
memory. When rewriting the flash memory (CPU rewrite mode), set the FMR22 bit to 0 (slow read
mode disabled).
To set the FMR22 bit to 1, write 0 and then 1 in succession. Make sure no interrupts or DMA transfers
occur between writing 0 and 1.
Set the FMR23 bit to 1 (low current consumption read mode enabled) after the FMR22 bit is set to 1
(slow read mode enabled). Also, set the FMR22 bit to 0 (slow read mode disabled) after the FMR23 bit
is set to 0 (low current consumption read mode disabled). Do not change the FMR22 bit and FMR23 bit
at the same time.
FMR23 (Low current consumption read mode enable bit) (b3)
This bit enables the mode which reduces the amount of current consumption when reading the flash
memory. When rewriting the flash memory (CPU rewrite mode), set the FMR23 bit to 0 (low current
consumption read mode disabled).
Low current consumption read mode can be used when the CM07 bit in the CM0 register is 1 (sub
clock used as CPU clock).
To set the FMR23 bit to 1, write 0 and then 1 in succession. Make sure no interrupts or DMA transfers
occur between writing 0 and 1.
Set the FMR23 bit to 1 (low current consumption read mode enabled) after the FMR22 bit is set to 1
(slow read mode enabled). Also, set the FMR22 bit to 0 (slow read mode disabled) after the FMR23 bit
is set to 0 (low current consumption read mode disabled). Do not change bits FMR22 and FMR23 at the
same time.
b7
0
0
b6 b5 b4
b1
b2
b3
Symbol
FMR2
Address
0222h
Reset Value
XXXX 0000b
b0
Function
Bit Symbol
Bit Name
RW
Flash Memory Control Register 2
—
—
(b7-b4)
No register bits. If necessary, set to 0. The read value is undefined.
RW
FMR23
Low current consumption
read mode enable bit
0 : Disabled
1 : Enabled
RW
—
(b1-b0)
RW
FMR22
Slow read mode enable
bit
0 : Disabled
1 : Enabled
Reserved bits
Set to 0
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...