English
Language : 

MC68HC05K0 Datasheet, PDF (92/154 Pages) Freescale Semiconductor, Inc – HCMOS Microcontroller Unit
Technical Data
Freescale Semiconductor, Inc.
9.5 PEPROM Reading
This sequence shows how to read the PEPROM:
1. Select a bit by writing to PEBSR.
2. Read the PEDATA bit in PESCR.
3. Store the PEDATA bit in RAM or in a register.
4. Select another bit by changing PEBSR.
5. Continue reading and storing the PEDATA bits until the required
personality EPROM data is stored.
Reading the PEPROM is easiest when each PEPROM column contains
one byte. Selecting a row-0 bit selects the first bit, and incrementing the
PEPROM bit select register (PEBSR) selects the next row-1 bit from the
same column. Incrementing PEBSR seven more times selects the
remaining bits of the column and selects the row-0 bit of the next column,
setting the row-0 flag, PEPRZF.
A PEPROM byte that has been read can be transferred to the
personality EPROM bit select register (PEBSR) so that subsequent
reads of the PEBSR quickly yield that PEPROM byte.
Technical Data
MC68HC05K0 • MC68HC05K1 — Rev. 2.0
Personality EPROM (MC68HC05K1 Only)
For More Information On This Product,
Go to: www.freescale.com