English
Language : 

MC68HC05X16 Datasheet, PDF (192/232 Pages) Freescale Semiconductor, Inc – High-density complementary metal oxide semiconductor HCMOS) microcontroller unit
Freescale Semiconductor, Inc.
B.5.2 EPROM program operation
Typically the EPROM will be programmed by the bootstrap routines resident in the on-chip ROM.
However, the user program can be used to program some EPROM locations if the proper
procedure is followed. In particular, the programming sequence must be running in RAM, as the
EPROM will not be available for code execution while the E6LAT bit is set. The VPP6 switching must
occur externally after the E6PGM bit is set, for example under control of a signal generated on a
pin by the programming routine.
Note:
When the part becomes a PROM, only the cumulative programming of bits to logic ‘1’
is possible if multiple programming is made on the same byte.
To allow simultaneous programming of up to sixteen bytes, these bytes must be in the same group
of addresses which share the same most significant address bits; only the four least significant bits
can change.
B.5.3 EPROM/EEPROM/ECLK control register
EPROM/EEPROM/ECLK control
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0007 WOIE CAF E6LAT E6PGM ECLK E1ERA E1LAT E1PGM 0000 0000
WOIE — Wired-OR interrupt enable bit
1 (set) – Wired-OR interrupts are enabled, provided the WOI bit in register
MOR is set.
0 (clear) – Wired-OR interrupts are disabled.
The WOIE bit can be used to enable the wired-OR interrupts (WOI) on the NWOI pin and on all
port B pins that have been programmed as inputs. WOI is activated if the WOIE bit is set and if the
WOI bit in the mask options register (MOR) is also set (see Section B.7). If WOI is not set then
WOIE is forced to zero. External and power-on resets clear the WOIE bit.
CAF — MCAN asleep flag
This flag is set by the MCU when the MCAN module enters SLEEP mode.This is the only indication
that the MCAN is asleep (see Section 5.5). The bit is cleared when the MCAN wakes up.
1 (set) – The MCAN module is in sleep mode.
0 (clear) – The MCAN module is not in sleep mode.
15
MC68HC705X32
MC68HC05X16
For More Information On This Product,
Rev. 1
Go to: www.freescale.com