MC68HC908AP16CFA MOTOROLA [Motorola, Inc], MC68HC908AP16CFA Datasheet - Page 179

no-image

MC68HC908AP16CFA

Manufacturer Part Number
MC68HC908AP16CFA
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
10.5.7 EE_READ
MC68HC908AP Family — Rev. 2.5
MOTOROLA
EE_READ is used to load the data array in RAM with a set of data from
FLASH.
The EE_READ routine reads data stored by the EE_WRITE routine. An
EE_READ call will retrieve the last data written to a FLASH page and
loaded into the data array in RAM. Same as EE_WRITE, the data size
indicated by DATASIZE is 7 to 15, and the start address
ADDRH:ADDRL must the FLASH page boundary address.
The coding example below uses the data stored by the EE_WRITE
coding example (see
stored in the $EE00–$EFFF page to the data array in RAM. The
initialization subroutine is the same as the coding example for
EE_WRITE (see
EE_READ
MAIN:
Notes:
Routine Name
Routine Description
Calling Address
Stack Used
Data Block Format
1. The start address must be a page boundary start address.
Freescale Semiconductor, Inc.
For More Information On This Product,
BSR
:
:
LDHX
JSR
:
Go to: www.freescale.com
EQU
INITIALIZATION
#FILE_PTR
EE_READ
10.5.6
Table 10-17. EE_READ Routine
EE_READ
Emulated EEPROM read. Data size ranges from 7 to 15
bytes at a time.
$FD5B
18 bytes
Bus speed (BUS_SPD)
Data size (DATASIZE)
Starting address (ADDRH)
Starting address (ADDRL)
Data 1
Data N
10.5.6
:
EE_WRITE).
$FD5B
EE_WRITE). It loads the 15-byte data set
(1)
(1)
ROM-Resident Routines
Monitor ROM (MON)
Data Sheet
179

Related parts for MC68HC908AP16CFA