Nrk-api-eeprom

Version 1 (Anthony Rowe, 07/27/2009 05:01 pm) → Version 2/4 (Anthony Rowe, 07/27/2009 05:01 pm)



h2.

==
EEPROM

h3.
==

===
nrk_eeprom_read_byte

===
|| uint8_t nrk_eeprom_read_byte( uint16_t addr ) ||
|| _Parameters_: ''Parameters'': addr is the address in EEPROM memory ||
|| _Return Values:_ ''Return Values:'' the value of EEPROM memory at addr ||

This function reads a byte from eeprom memory if supported by the processor.

h3.


===
nrk_eeprom_write_byte

===
|| int8_t nrk_eeprom_write_byte( uint16_t addr, uint8_t value ) ||
|| _Parameters_: ''Parameters'': addr is the address in EEPROM memory, value is the value to be written ||
|| _Return Values:_ ''Return Values:'' NRK_OK upon success and NRK_ERROR on failure ||

This function writes a byte to eeprom memory.