Go to the documentation of this file.
40 #ifndef _NO_OS_EEPROM_H_
41 #define _NO_OS_EEPROM_H_
111 uint8_t *data, uint16_t bytes);
115 uint8_t *data, uint16_t bytes);
120 #endif // _NO_OS_EEPROM_H_
const struct no_os_eeprom_platform_ops * platform_ops
Definition: no_os_eeprom.h:67
Structure holding the EEPROM descriptor.
Definition: no_os_eeprom.h:76
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:95
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:115
const struct no_os_eeprom_platform_ops * platform_ops
Definition: no_os_eeprom.h:79
uint32_t device_id
Definition: no_os_eeprom.h:66
void * extra
Definition: no_os_eeprom.h:81
uint32_t device_id
Definition: no_os_eeprom.h:78
void * extra
Definition: no_os_eeprom.h:69
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:51
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:76
Structure holding the parameters for EEPROM initialization.
Definition: no_os_eeprom.h:64