#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
|
int32_t | FlashErase (uint32_t ui32Address) |
|
int32_t | FlashProgram (uint32_t *pui32Data, uint32_t ui32Address, uint32_t ui32Count) |
|
tFlashProtection | FlashProtectGet (uint32_t ui32Address) |
|
int32_t | FlashProtectSet (uint32_t ui32Address, tFlashProtection eProtect) |
|
int32_t | FlashProtectSave (void) |
|
int32_t | FlashUserGet (uint32_t *pui32User0, uint32_t *pui32User1) |
|
int32_t | FlashUserSet (uint32_t ui32User0, uint32_t ui32User1) |
|
int32_t | FlashAllUserRegisterGet (uint32_t *pui32User0, uint32_t *pui32User1, uint32_t *pui32User2, uint32_t *pui32User3) |
|
int32_t | FlashAllUserRegisterSet (uint32_t ui32User0, uint32_t ui32User1, uint32_t ui32User2, uint32_t ui32User3) |
|
int32_t | FlashUserSave (void) |
|
int32_t | FlashAllUserRegisterSave (void) |
|
void | FlashIntRegister (void(*pfnHandler)(void)) |
|
void | FlashIntUnregister (void) |
|
void | FlashIntEnable (uint32_t ui32IntFlags) |
|
void | FlashIntDisable (uint32_t ui32IntFlags) |
|
uint32_t | FlashIntStatus (bool bMasked) |
|
void | FlashIntClear (uint32_t ui32IntFlags) |
|
§ FLASH_INT_PROGRAM
#define FLASH_INT_PROGRAM 0x00000002 |
§ FLASH_INT_ACCESS
#define FLASH_INT_ACCESS 0x00000001 |
§ FLASH_INT_EEPROM
#define FLASH_INT_EEPROM 0x00000004 |
§ FLASH_INT_VOLTAGE_ERR
#define FLASH_INT_VOLTAGE_ERR 0x00000200 |
§ FLASH_INT_DATA_ERR
#define FLASH_INT_DATA_ERR 0x00000400 |
§ FLASH_INT_ERASE_ERR
#define FLASH_INT_ERASE_ERR 0x00000800 |
§ FLASH_INT_PROGRAM_ERR
#define FLASH_INT_PROGRAM_ERR 0x00002000 |
§ tFlashProtection
Enumerator |
---|
FlashReadWrite | |
FlashReadOnly | |
FlashExecuteOnly | |