Functions
flash.c File Reference
#include <stdint.h>
#include <ti/devices/msp432p4xx/driverlib/flash.h>
#include <ti/devices/msp432p4xx/driverlib/sysctl.h>
#include <ti/devices/msp432p4xx/driverlib/interrupt.h>
#include <ti/devices/msp432p4xx/driverlib/cpu.h>
#include <ti/devices/msp432p4xx/driverlib/debug.h>

Functions

void FlashCtl_getMemoryInfo (uint32_t addr, uint32_t *bankNum, uint32_t *sectorNum)
 
void FlashCtl_enableReadBuffering (uint_fast8_t memoryBank, uint_fast8_t accessMethod)
 
void FlashCtl_disableReadBuffering (uint_fast8_t memoryBank, uint_fast8_t accessMethod)
 
bool FlashCtl_unprotectSector (uint_fast8_t memorySpace, uint32_t sectorMask)
 
bool FlashCtl_protectSector (uint_fast8_t memorySpace, uint32_t sectorMask)
 
bool FlashCtl_isSectorProtected (uint_fast8_t memorySpace, uint32_t sector)
 
bool FlashCtl_verifyMemory (void *verifyAddr, uint32_t length, uint_fast8_t pattern)
 
bool FlashCtl_setReadMode (uint32_t flashBank, uint32_t readMode)
 
uint32_t FlashCtl_getReadMode (uint32_t flashBank)
 
void FlashCtl_initiateMassErase (void)
 
bool FlashCtl_performMassErase (void)
 
bool FlashCtl_eraseSector (uint32_t addr)
 
void FlashCtl_initiateSectorErase (uint32_t addr)
 
bool FlashCtl_programMemory (void *src, void *dest, uint32_t length)
 
void FlashCtl_setProgramVerification (uint32_t verificationSetting)
 
void FlashCtl_clearProgramVerification (uint32_t verificationSetting)
 
void FlashCtl_enableWordProgramming (uint32_t mode)
 
void FlashCtl_disableWordProgramming (void)
 
uint32_t FlashCtl_isWordProgrammingEnabled (void)
 
void FlashCtl_setWaitState (uint32_t flashBank, uint32_t waitState)
 
uint32_t FlashCtl_getWaitState (uint32_t flashBank)
 
void FlashCtl_enableInterrupt (uint32_t flags)
 
void FlashCtl_disableInterrupt (uint32_t flags)
 
uint32_t FlashCtl_getInterruptStatus (void)
 
uint32_t FlashCtl_getEnabledInterruptStatus (void)
 
void FlashCtl_clearInterruptFlag (uint32_t flags)
 
void FlashCtl_registerInterrupt (void(*intHandler)(void))
 
void FlashCtl_unregisterInterrupt (void)
 
uint8_t __FlashCtl_remaskData8Post (uint8_t data, uint32_t addr)
 
uint8_t __FlashCtl_remaskData8Pre (uint8_t data, uint32_t addr)
 
uint32_t __FlashCtl_remaskData32Post (uint32_t data, uint32_t addr)
 
uint32_t __FlashCtl_remaskData32Pre (uint32_t data, uint32_t addr)
 
void __FlashCtl_remaskBurstDataPre (uint32_t addr, uint32_t size)
 
void __FlashCtl_remaskBurstDataPost (uint32_t addr, uint32_t size)
 

Copyright 2018, Texas Instruments Incorporated