source: ecs_cellMon/firmware/inc/eeprom.h

Last change on this file was 8, checked in by f.jahn, 19 months ago

Fixing project before activating IWDG timer in CubeMX.

File size: 965 bytes
Line 
1/**
2  ******************************************************************************
3  * @file    eeprom.h
4  * @author  ECS - Zed Kazharov
5  * @version V1.0.0
6  * @date    10-Jan-2023
7  * @brief   Virtual EEPROM in FLASH memory
8  *
9  *          Beschreibung         
10  *         
11  *
12  ******************************************************************************
13  */ 
14
15#ifndef __VEEPROM_H
16#define __VEEPROM_H
17
18#include "stm32g0xx_hal.h"
19#include "stdbool.h"
20#include "sysdata.h"
21
22HAL_StatusTypeDef EEPROM_readConfig(sys_data_t * data);
23HAL_StatusTypeDef EEPROM_storeConfig(sys_data_t * data, bool withSN, bool saveNewKey);
24HAL_StatusTypeDef EEPROM_fullRestore(sys_data_t * data, bool keepSN);
25HAL_StatusTypeDef EEPROM_factoryRestore(sys_data_t * data);
26HAL_StatusTypeDef EEPROM_storeLogData(void);
27HAL_StatusTypeDef EEPROM_readLogData(void);
28HAL_StatusTypeDef EEPROM_ResetLogData(void);
29
30bool EEPROM_isFirstStart(void);
31
32#endif
Note: See TracBrowser for help on using the repository browser.