Nrk-api-eeprom

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

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