EEE4STM32.h aktualisiert
This commit is contained in:
parent
a62277d044
commit
4e1d3a2187
|
@ -1,82 +1,82 @@
|
||||||
#ifndef _EE_H_
|
#ifndef _EEE4STM32_H_
|
||||||
#define _EE_H_
|
#define _EEE4STM32_H_
|
||||||
|
|
||||||
/***********************************************************************************************************
|
/***********************************************************************************************************
|
||||||
|
|
||||||
Author: Nima Askari
|
Author: Nima Askari
|
||||||
Github: https://www.github.com/NimaLTD
|
Github: https://www.github.com/NimaLTD
|
||||||
LinkedIn: https://www.linkedin.com/in/nimaltd
|
LinkedIn: https://www.linkedin.com/in/nimaltd
|
||||||
Youtube: https://www.youtube.com/@nimaltd
|
Youtube: https://www.youtube.com/@nimaltd
|
||||||
Instagram: https://instagram.com/github.NimaLTD
|
Instagram: https://instagram.com/github.NimaLTD
|
||||||
|
|
||||||
Version: 3.1.3
|
Version: 3.1.3
|
||||||
|
|
||||||
History:
|
History:
|
||||||
3.1.3
|
3.1.3
|
||||||
- Fixed L0, L1 configuration
|
- Fixed L0, L1 configuration
|
||||||
|
|
||||||
3.1.2
|
3.1.2
|
||||||
- Fixed H5 configuration
|
- Fixed H5 configuration
|
||||||
|
|
||||||
3.1.1
|
3.1.1
|
||||||
- Fixed formatting F4
|
- Fixed formatting F4
|
||||||
|
|
||||||
3.1.0
|
3.1.0
|
||||||
- Added Verify after Writing
|
- Added Verify after Writing
|
||||||
- Added Checking Pointer in Reading/Writing
|
- Added Checking Pointer in Reading/Writing
|
||||||
- Removed erasing buffer and formating before write
|
- Removed erasing buffer and formating before write
|
||||||
|
|
||||||
3.0.2
|
3.0.2
|
||||||
- Fixed Writing for H7B
|
- Fixed Writing for H7B
|
||||||
|
|
||||||
3.0.1
|
3.0.1
|
||||||
- Added comments
|
- Added comments
|
||||||
|
|
||||||
3.0.0
|
3.0.0
|
||||||
- Rewrite again
|
- Rewrite again
|
||||||
- Support STM32CubeMx Packet installer
|
- Support STM32CubeMx Packet installer
|
||||||
|
|
||||||
***********************************************************************************************************/
|
***********************************************************************************************************/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************************************************
|
/************************************************************************************************************
|
||||||
************** Include Headers
|
************** Include Headers
|
||||||
************************************************************************************************************/
|
************************************************************************************************************/
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
|
||||||
/************************************************************************************************************
|
/************************************************************************************************************
|
||||||
************** Public Definitions
|
************** Public Definitions
|
||||||
************************************************************************************************************/
|
************************************************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
/************************************************************************************************************
|
/************************************************************************************************************
|
||||||
************** Public struct/enum
|
************** Public struct/enum
|
||||||
************************************************************************************************************/
|
************************************************************************************************************/
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
uint8_t *DataPointer;
|
uint8_t *DataPointer;
|
||||||
uint32_t Size;
|
uint32_t Size;
|
||||||
|
|
||||||
} EE_HandleTypeDef;
|
} EE_HandleTypeDef;
|
||||||
|
|
||||||
/************************************************************************************************************
|
/************************************************************************************************************
|
||||||
************** Public Functions
|
************** Public Functions
|
||||||
************************************************************************************************************/
|
************************************************************************************************************/
|
||||||
|
|
||||||
bool EE_Init(void *StoragePointer, uint32_t Size);
|
bool EE_Init(void *StoragePointer, uint32_t Size);
|
||||||
uint32_t EE_Capacity(void);
|
uint32_t EE_Capacity(void);
|
||||||
bool EE_Format(void);
|
bool EE_Format(void);
|
||||||
void EE_Read(void);
|
void EE_Read(void);
|
||||||
bool EE_Write(void);
|
bool EE_Write(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
Loading…
Reference in New Issue
Block a user