August 27, 1998
GENERAL RELEASE SPECIFICATION
PEPGM — PEPROM Program Control
This read/write bit controls the switches that apply the programming voltage on
the IRQ/V pin to the selected PEPROM cell. Reset clears the PEPGM bit.
PP
1 = Programming voltage applied to array bit.
0 = Programming voltage not applied to array bit.
PEPRZF — PEPROM Row Zero Flag
This read-only bit is set when the PEPROM bit select register selects the first
row (row zero) of the PEPROM array. Selecting any other row clears PEPRZF.
Monitoring PEPRZF can reduce the code needed to access one byte of eight
PEPROM locations. Reset clears the PEPROM bit select register thereby set-
ting the PEPRZF bit by default.
1 = Row zero selected.
0 = Row zero not selected.
Table 16-1. PEPROM Bit Selection
PEBSR
$00 - $07
$08 - $0F
$10 - $17
$18 - $1F
$20 - $27
$28 - $2F
$30 - $37
$38 - $3F
PEPROM Bit Selected
Row 0 - Row 7
Column 0
Column 1
Column 2
Column 3
Column 4
Column 5
Column 6
Column 7
Row 0 - Row 7
Row 0 - Row 7
Row 0 - Row 7
Row 0 - Row 7
Row 0 - Row 7
Row 0 - Row 7
Row 0 - Row 7
16.2 PEPROM PROGRAMMING
The PEPROM can be programmed by user software with the V voltage level
PP
applied to the IRQ/V pin. The following sequence shows how to program each
PP
PEPROM bit:
1. Select a PEPROM bit by writing to the PEBSR.
2. Set the PEPGM bit in the PESCR.
3. Wait 3 milliseconds.
4. Clear the PEPGM bit.
5. Move to next PEPROM bit to be programmed in step 1.
MC68HC05SB7
REV 2.1
PERSONALITY EPROM
MOTOROLA
16-3