IIEEEPROM Interface Reference

List of all members.

Public Member Functions

HRESULT GetInfo (PEEPROM_INFO pInfo)
HRESULT SetAddress (INT32 wAddress)
HRESULT WriteByte (INT8U bValue)
HRESULT ReadByte (INT8U *p_bValue)
HRESULT EraseAll ()


Detailed Description

Interface for generic access to a device's EEPROM

Member Function Documentation

HRESULT GetInfo ( PEEPROM_INFO  pInfo  ) 

Returns the EEPROM_INFO structure about the EEPROM device

HRESULT SetAddress ( INT32  wAddress  ) 

Sets the address cursor for the device. All subsequent reads/writes will occur at this address

HRESULT WriteByte ( INT8U  bValue  ) 

Writes the given byte to the current address. Note that the address cursor is incremented after the write operation (post-incremented).

HRESULT ReadByte ( INT8U p_bValue  ) 

Reads a byte from the current address. Note that the address cursor is incremented after the read operation (post-incremented).

HRESULT EraseAll (  ) 

Attempts to erase / reset the entire contents of the EEPROM, including any device reserved space. Most devices will re-initialize their reserved space to factory defaults upon the next reset / power up operation


Generated on Mon Dec 17 17:19:32 2007 for ePadAPIs by  doxygen 1.5.4