Public Member Functions | |
HRESULT | GetInfo (PEEPROM_INFO pInfo) |
HRESULT | SetAddress (INT32 wAddress) |
HRESULT | WriteByte (INT8U bValue) |
HRESULT | ReadByte (INT8U *p_bValue) |
HRESULT | EraseAll () |
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