CHAPTER 5 EEPROM (DATA MEMORY)
User’s Manual U14826EJ5V0UD
59
Figure 5-2. Format of EEPROM Write Control Register 10
Symbol
7 6 5 4 3
<2>
<1>
<0>
Address
After
reset
R/W
EEWC10 0 EWCS102
EWCS101
EWCS100
1 ERE10 EWST10
EWE10 FFD8H
08H
R/W
Note
EWCS102 EWCS101 EWCS100
EEPROM timer count clock selection
0 1 0
f
X
/2
5
or f
CC
/2
5
(Setting enabled only when f
CC
or f
X
<
1.41 MHz)
0 1 1
f
X
/2
6
(Setting enabled only when 1.41
≤
f
X
≤
2.81 MHz)
1 0 0
f
X
/2
7
(Setting enabled only when f
X
>
2.81 MHz)
1
1
0
Output of 8-bit timer 40
Note 2
(Setting enabled only when 8-bit timer 40 is
operating in discrete mode)
Other than above
Setting prohibited
ERE10
EWE10
Write
Read
Remarks
0
0
Disabled Disabled
EEPROM is in standby state (low power consumption mode)
0 1
Setting
prohibited
1 0
Disabled
Enabled
1
1
Enabled Enabled
EWST10
EEPROM write status flag
0
Not writing to EEPROM (EEPROM can be read or written. However, writing is disabled if EWE10 = 0.)
1
Writing to EEPROM (EEPROM cannot be read or written.)
Notes
1.
Bit 1 is read only.
2.
Even if timer 40 output is disabled (TOE40 = 0), the timer output signal is internally supplied to
EEPROM.
Caution Be sure to clear bit 3 to 1 and bit 7 to 0.
Remarks 1.
f
X
: System clock oscillation frequency (ceramic/crystal oscillation)
2.
f
CC
: System clock oscillation frequency (RC oscillation)