Nrk-api-eeprom

Version 3 (Anthony Rowe, 06/13/2013 12:02 pm)

1 1 Anthony Rowe
2 2 Anthony Rowe
h2. EEPROM
3 2 Anthony Rowe
4 2 Anthony Rowe
5 2 Anthony Rowe
6 2 Anthony Rowe
h3. nrk_eeprom_read_byte
7 2 Anthony Rowe
8 1 Anthony Rowe
|| uint8_t nrk_eeprom_read_byte( uint16_t addr ) ||
9 2 Anthony Rowe
|| _Parameters_: addr is the address in EEPROM memory ||
10 2 Anthony Rowe
|| _Return Values:_ the value of EEPROM memory at addr ||
11 1 Anthony Rowe
12 1 Anthony Rowe
This function reads a byte from eeprom memory if supported by the processor.
13 1 Anthony Rowe
14 2 Anthony Rowe
15 2 Anthony Rowe
h3. nrk_eeprom_write_byte
16 2 Anthony Rowe
17 1 Anthony Rowe
|| int8_t nrk_eeprom_write_byte( uint16_t addr, uint8_t value ) ||
18 2 Anthony Rowe
|| _Parameters_: addr is the address in EEPROM memory, value is the value to be written ||
19 2 Anthony Rowe
|| _Return Values:_ NRK_OK upon success and NRK_ERROR on failure ||
20 1 Anthony Rowe
21 1 Anthony Rowe
This function writes a byte to eeprom memory.
22 3 Anthony Rowe
23 3 Anthony Rowe
| Prev: [[Nrk-api-stats-tracker|Runtime Monitoring]]  | [[Nrk-api|Top]] |