Functions
flash.c File Reference
#include "types.h"
#include <stdbool.h>
#include <stdint.h>
#include "inc/hw_flash.h"
#include "inc/hw_sysctl.h"
#include "debug.h"
#include "flash.h"
#include "interrupt.h"

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 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)
 
Copyright 2017, Texas Instruments Incorporated