Files
charge-controller-firmware/src/eeprom.h
T

32 lines
552 B
C

/*
* Copyright (c) 2017 Martin Jäger / Libre Solar
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef EEPROM_H
#define EEPROM_H
/**
* @file
*
* @brief Handling of internal or external EEPROM to store device configuration
*/
/**
* Store current charge controller data to EEPROM
*/
void eeprom_store_data();
/**
* Restore charge controller data from EEPROM and write to variables in RAM
*/
void eeprom_restore_data();
/**
* Stores data to EEPROM every 6 hours (can be called regularly)
*/
void eeprom_update();
#endif /* EEPROM_H */