国产精品成人VA在线观看-国产乱妇乱子视频在播放-国产日韩精品一区二区三区在线-国模精品一区二区三区

參數資料
型號: MC68HCP11A1MFN
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-Bit Microcontrollers
中文描述: 8-BIT, EEPROM, 3 MHz, MICROCONTROLLER, PQCC52
封裝: PLASTIC, LCC-52
文件頁數: 17/45頁
文件大小: 286K
代理商: MC68HCP11A1MFN
MC68HC11A8
MC68HC11A8TS/D
MOTOROLA
17
4 Electrically
Erasable
Programmable
Read-Only
Memory
(EEPROM)
The 512 bytes of EEPROM in the MC68HC11A8 are located at $B600 through $B7FF. The EEON bit
in CONFIG controls the presence or absence of the EEPROM in the memory map. When EEON = 1
(erased state), the EEPROM is enabled. When EEON = 0, the EEPROM is disabled and out of the
memory map. EEON is reset to the value last programmed into CONFIG. An on-chip charge pump de-
velops the high voltage required for programming and erasing. When the E clock is less than 1 MHz,
select an internal clock. This drives the EEPROM charge pump by writing a one to the CSEL bit in the
OPTION register.
The PPROG register controls the programming and erasing of the EEPROM. To erase the EEPROM,
complete the following steps using the PPROG register:
1.
2.
Write to PPROG with the ERASE, EELAT, and appropriate BYTE and ROW bits set.
Write to the appropriate EEPROM address with any data. Row erase only requires a write to
any location in the row. Bulk erase is accomplished by writing to any location in the array.
Write to PPROG with ERASE, EELAT, EEPGM, and the appropriate BYTE and ROW bits set.
Delay for 10 ms or more, as appropriate.
Clear the EEPGM bit in PPROG to turn off the high voltage.
Clear the PPROG register to reconfigure the EEPROM address and data buses for normal op-
eration.
To program the EEPROM, complete the following steps using the PPROG register:
3.
4.
5.
6.
1.
2.
3.
4.
5.
6.
Write to PPROG with the EELAT bit set.
Write data to the desired address.
Write to PPROG with the EELAT and EEPGM bits set.
Delay for 10 ms or more, as appropriate.
Clear the EEPGM bit in PPROG to turn off the high voltage.
Clear the PPROG register to reconfigure the EEPROM address and data buses for normal op-
eration.
ODD — Program Odd Rows in Half of EEPROM (TEST)
EVEN — Program Even Rows in Half of EEPROM (TEST)
BYTE — Byte/Other EEPROM Erase Mode
The BYTE bit overrides the ROW bit.
0 = Row or bulk erase mode is used
1 = Erase only one byte of EEPROM
ROW — Row/All EEPROM Erase Mode
The ROW bit is only valid when BYTE = 0.
0 = All 512 bytes of EEPROM are erased
1 = Erase only one 16-byte row of EEPROM
PPROG
— EEPROM Programming Control
$103B
Bit 7
ODD
0
6
5
0
0
4
3
2
1
Bit 0
EEPGM
0
EVEN
0
BYTE
0
ROW
0
ERASE
0
EELAT
0
RESET:
BYTE
0
0
1
1
ROW
0
1
0
1
Action
Bulk Erase (All 512 Bytes)
Row Erase (16 Bytes)
Byte Erase
Byte Erase