Nrk-api-eeprom

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

1 1 Anthony Rowe
2 1 Anthony Rowe
== EEPROM ==
3 1 Anthony Rowe
4 1 Anthony Rowe
=== nrk_eeprom_read_byte ===
5 1 Anthony Rowe
|| uint8_t nrk_eeprom_read_byte( uint16_t addr ) ||
6 1 Anthony Rowe
|| ''Parameters'': addr is the address in EEPROM memory ||
7 1 Anthony Rowe
|| ''Return Values:'' the value of EEPROM memory at addr ||
8 1 Anthony Rowe
9 1 Anthony Rowe
This function reads a byte from eeprom memory if supported by the processor.
10 1 Anthony Rowe
11 1 Anthony Rowe
=== nrk_eeprom_write_byte ===
12 1 Anthony Rowe
|| int8_t nrk_eeprom_write_byte( uint16_t addr, uint8_t value ) ||
13 1 Anthony Rowe
|| ''Parameters'': addr is the address in EEPROM memory, value is the value to be written ||
14 1 Anthony Rowe
|| ''Return Values:'' NRK_OK upon success and NRK_ERROR on failure ||
15 1 Anthony Rowe
16 1 Anthony Rowe
This function writes a byte to eeprom memory.