EEPROM
Technical Data
MC68HC908AB32
—
Rev. 1.0
82
EEPROM
MOTOROLA
The EEDIV value is calculated by the following formula:
EEDIV = INT
[
Reference frequency (Hz)
×
35
×
10
–6
+ 0.5
]
Where the result inside the bracket is rounded down to the nearest
integer value.
For example, if the reference frequency is 4.9152MHz, the EEDIV
value is 172.
NOTE:
Programming/erasing the EEPROM with an improper EEDIV value may
result in data lost and reduce endurance of the EEPROM device.
5.11.3.1 EEPROM Timebase Divider Non-Volatile Register
The 16-bit EEPROM timebase divider non-volatile register consists of
two 8-bit registers: EEDIVHNVR and EEDIVLNVR. The contents of
these two registers are respectively loaded into the EEPROM timebase
divider registers, EEDIVH and EEDIVL, after a reset.
These two registers are erased and programmed in the same way as an
EEPROM byte.
Address:
$FE10
Bit 7
6
5
4
3
2
1
Bit 0
Read:
EEDIVSECD
R
R
R
R
EEDIV10
EEDIV9
EEDIV8
Write:
Reset:
Unaffected by reset; $FF when blank
Figure 5-7. EEPROM Divider Non-volatile Register High(EEDIVHNVR)
Address:
$FE11
Bit 7
6
5
4
3
2
1
Bit 0
Read:
EEDIV7
EEDIV6
EEDIV5
EEDIV4
EEDIV3
EEDIV2
EEDIV1
EEDIV0
Write:
Reset:
Unaffected by reset; $FF when blank
Figure 5-8. EEPROM Divider Non-volatile Register Low (EEDIVLNVR)
Summary of Contents for MC68HC908AB32
Page 1: ...MC68HC908AB32 D REV 1 0 MC68HC908AB32 HCMOS Microcontroller Unit TECHNICAL DATA ...
Page 2: ......
Page 68: ...FLASH Memory Technical Data MC68HC908AB32 Rev 1 0 68 FLASH Memory MOTOROLA ...
Page 84: ...EEPROM Technical Data MC68HC908AB32 Rev 1 0 84 EEPROM MOTOROLA ...
Page 390: ...Ordering Information Technical Data MC68HC908AB32 Rev 1 0 390 Ordering Information MOTOROLA ...
Page 391: ......