EEPROM
[TCP/IP Stack from Microchip Version 4.50 (Modified)]


Files

file  SPIEEPROM.c
 Data SPI EEPROM Access Routines.
file  XEEPROM.h
 External serial data EEPROM Access Defs.

Functions

XEE_RESULT XEEReadArray (XEE_ADDR address, BYTE *buffer, BYTE length)
 Reads desired number of bytes in sequential mode.
void XEEEraseEEPROM (void)
 Erases the whole EEPROM.
void XEEWriteArray (WORD u16Address, BYTE *pu8Data, BYTE u8Len)
 Writes an array of bytes to a specified address in the EEPROM.


Function Documentation

void XEEEraseEEPROM ( void   ) 

Erases the whole EEPROM.

After the erase all bytes in EEPROM have a value of 0xFF.

Precondition:
None
Returns:
None
Remarks:
Only callable if the macro EEPROM_ERASE is defined.

Definition at line 369 of file SPIEEPROM.c.

XEE_RESULT XEEReadArray ( XEE_ADDR  address,
BYTE *  buffer,
BYTE  length 
)

Reads desired number of bytes in sequential mode.

This function performs all necessary steps and releases the bus when finished.

Precondition:
None
Parameters:
address Address from where the array should be read
buffer Caller supplied buffer to hold the data
length Number of bytes to read.
Returns:
XEE_SUCCESS

Definition at line 161 of file SPIEEPROM.c.

void XEEWriteArray ( WORD  u16Address,
BYTE *  pu8Data,
BYTE  u8Len 
)

Writes an array of bytes to a specified address in the EEPROM.

Precondition:
None.
Parameters:
u16Address Address in EEPROM the data is written to.
pu8Data Pointer to the data.
u8Len Size of data to be written.
Returns:
None
Remarks:
None

Definition at line 385 of file SPIEEPROM.c.


Generated on Sun Nov 27 20:02:40 2011 for eWicht by  doxygen 1.5.5