EE445M RTOS
Taken at the University of Texas Spring 2015
|
Go to the source code of this file.
Macros | |
#define | FLASH_INT_PROGRAM 0x00000002 |
#define | FLASH_INT_ACCESS 0x00000001 |
#define | FLASH_INT_EEPROM 0x00000004 |
#define | FLASH_INT_VOLTAGE_ERR 0x00000200 |
#define | FLASH_INT_DATA_ERR 0x00000400 |
#define | FLASH_INT_ERASE_ERR 0x00000800 |
#define | FLASH_INT_PROGRAM_ERR 0x00002000 |
Enumerations | |
enum | tFlashProtection { FlashReadWrite, FlashReadOnly, FlashExecuteOnly } |
Functions | |
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 | FlashUserSave (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) |
enum tFlashProtection |
Enumerator | |
---|---|
FlashReadWrite | |
FlashReadOnly | |
FlashExecuteOnly |