Atmel Software Framework

eeprom_access.c File Reference
#include "eeprom_access.h"
#include "nvm.h"

Macros

#define EEPE   EEWE
 

Functions

uint16_t read_info_from_eeprom (void)
 read_info_from_eeprom More...
 
void read_settings_from_eeprom (void)
 read_settings_from_eeprom More...
 
void write_global_settings_to_eeprom (void)
 write_global_settings_to_eeprom More...
 
void write_info_to_eeprom (uint16_t lib_version)
 write_info_to_eeprom More...
 
void write_sensor_settings_to_eeprom (void)
 write_sensor_settings_to_eeprom More...
 

Variables

uint8_t num_sensors
 
sensor_t sensors []
 

#define EEPE   EEWE

uint16_t read_info_from_eeprom ( void  )

read_info_from_eeprom

read_info_from_eeprom is used to Read Info block from EEPROM

This function is used to read Info block from EEPROM

Parameters
\noteReturns library version currently on chip

References EEPROM_START_ADDRESS, and nvm_eeprom_read_byte().

Referenced by QDebug_Init().

void read_settings_from_eeprom ( void  )
void write_global_settings_to_eeprom ( void  )
void write_info_to_eeprom ( uint16_t  lib_version)

write_info_to_eeprom

write_info_to_eeprom is used to Save information from library and sign in the EEPROM

This function is used to Save information from library and sign in the EEPROM

Parameters
\noteWill write the current library version to EEPROM

References EEPROM_START_ADDRESS, and nvm_eeprom_write_byte().

Referenced by QDebug_Init().

void write_sensor_settings_to_eeprom ( void  )

write_sensor_settings_to_eeprom

write_sensor_settings_to_eeprom is used to Save sensor parameter settings to EEPROM

This function is used to Save sensor parameter settings to EEPROM

Parameters
\note

References EEPROM_LIB_CONFIG_START_ADDRESS, num_sensors, and nvm_eeprom_write_byte().

Referenced by QDebug_Init(), and Set_Channel_Config().

sensor_t sensors[]