|
Last change
on this file since 8 was 8, checked in by f.jahn, 2 years ago |
|
Fixing project before activating IWDG timer in CubeMX.
|
|
File size:
965 bytes
|
| Rev | Line | |
|---|
| [8] | 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 |
|
|---|
| [3] | 18 | #include "stm32g0xx_hal.h"
|
|---|
| 19 | #include "stdbool.h"
|
|---|
| 20 | #include "sysdata.h"
|
|---|
| 21 |
|
|---|
| 22 | HAL_StatusTypeDef EEPROM_readConfig(sys_data_t * data);
|
|---|
| 23 | HAL_StatusTypeDef EEPROM_storeConfig(sys_data_t * data, bool withSN, bool saveNewKey);
|
|---|
| 24 | HAL_StatusTypeDef EEPROM_fullRestore(sys_data_t * data, bool keepSN);
|
|---|
| 25 | HAL_StatusTypeDef EEPROM_factoryRestore(sys_data_t * data);
|
|---|
| 26 | HAL_StatusTypeDef EEPROM_storeLogData(void);
|
|---|
| 27 | HAL_StatusTypeDef EEPROM_readLogData(void);
|
|---|
| 28 | HAL_StatusTypeDef EEPROM_ResetLogData(void);
|
|---|
| 29 |
|
|---|
| 30 | bool EEPROM_isFirstStart(void);
|
|---|
| [8] | 31 |
|
|---|
| 32 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.