Go to the documentation of this file.
34 #ifndef _NO_OS_EEPROM_H_
35 #define _NO_OS_EEPROM_H_
105 uint8_t *data, uint16_t bytes);
109 uint8_t *data, uint16_t bytes);
114 #endif // _NO_OS_EEPROM_H_
const struct no_os_eeprom_platform_ops * platform_ops
Definition: no_os_eeprom.h:61
Structure holding the EEPROM descriptor.
Definition: no_os_eeprom.h:70
int32_t no_os_eeprom_write(struct no_os_eeprom_desc *desc, uint32_t address, uint8_t *data, uint16_t bytes)
Write the EEPROM data.
Definition: no_os_eeprom.c:89
int32_t no_os_eeprom_read(struct no_os_eeprom_desc *desc, uint32_t address, uint8_t *data, uint16_t bytes)
Read the EEPROM data.
Definition: no_os_eeprom.c:109
const struct no_os_eeprom_platform_ops * platform_ops
Definition: no_os_eeprom.h:73
uint32_t device_id
Definition: no_os_eeprom.h:60
void * extra
Definition: no_os_eeprom.h:75
uint32_t device_id
Definition: no_os_eeprom.h:72
void * extra
Definition: no_os_eeprom.h:63
int32_t no_os_eeprom_init(struct no_os_eeprom_desc **desc, const struct no_os_eeprom_init_param *param)
Initialize the EEPROM.
Definition: no_os_eeprom.c:45
int32_t no_os_eeprom_remove(struct no_os_eeprom_desc *desc)
Free the resources allocated by no_os_eeprom_init()
Definition: no_os_eeprom.c:70
Structure holding the parameters for EEPROM initialization.
Definition: no_os_eeprom.h:58