EEprom Operations
Detailed Description
This module provides operations to write to the 68HC11 internal eeprom. Function Documentation
void eeprom_write_byte |
( |
unsigned char * |
p, |
|
|
const unsigned char |
value |
|
) |
|
|
|
Write a byte in eeprom.
Write the byte value in the eeprom at address p. The eeprom byte location is erased first if write operation is not possible (when at least one bit must be set to 1). -
Parameters:
-
p |
Address of the eeprom byte to write |
value |
Value to write |
-
See also:
-
eeprom_write_short
Definition at line 195 of file burner.c. |
void eeprom_write_short |
( |
unsigned short * |
p, |
|
|
const unsigned short |
value |
|
) |
|
|
|
Write a short in eeprom.
Write the short value in the eeprom at address p. The eeprom byte locations are erased first if write operation is not possible (when at least one bit must be set to 1). -
Parameters:
-
p |
Address of the eeprom byte to write |
value |
Value to write |
-
See also:
-
eeprom_write_byte
|
Variable Documentation
|
Low address of internal EEPROM bank.
The eeprom_low variable represents the first byte of the internal EEPROM. Its address is fixed at link time.
Definition at line 67 of file eeprom.h. |
|