EEprom Operations
Functions
void eeprom_write_byte (unsigned char *p, const unsigned char value)void eeprom_write_short (unsigned short *p, const unsigned short value)Variables
unsigned char eeprom_lowDetailed 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 writevalue Value to write
- See also:
- eeprom_write_short
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 writevalue Value to write
- See also:
- eeprom_write_byte
Variable Documentation
unsigned char eeprom_lowLow address of internal EEPROM bank.
The eeprom_low variable represents the first byte of the internal EEPROM. Its address is fixed at link time.
Copyright (C) 1999, 2000, 2001, 2002, 2003 Stéphane Carrez, France
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.