MSP430 Driver Library  1.80.00.18
Functions
flash.c File Reference
#include "inc/hw_regaccess.h"
#include "inc/hw_memmap.h"
#include "flash.h"
#include <assert.h>

Functions

void FLASH_segmentErase (uint8_t *flash_ptr)
 Erase a single segment of the flash memory. More...
 
void FLASH_bankErase (uint8_t *flash_ptr)
 Erase a single bank of the flash memory. More...
 
bool FLASH_eraseCheck (uint8_t *flash_ptr, uint16_t numberOfBytes)
 Erase check of the flash memory. More...
 
void FLASH_write8 (uint8_t *data_ptr, uint8_t *flash_ptr, uint16_t count)
 Write data into the flash memory in byte format. Assumes the flash memory is already erased. FLASH_segmentErase can be used to erase a segment. More...
 
void FLASH_write16 (uint16_t *data_ptr, uint16_t *flash_ptr, uint16_t count)
 Write data into the flash memory in word format. Assumes the flash memory is already erased. FLASH_segmentErase can be used to erase a segment. More...
 
void FLASH_write32 (uint32_t *data_ptr, uint32_t *flash_ptr, uint16_t count)
 Write data into the flash memory in long format, pass by reference Assumes the flash memory is already erased. FLASH_segmentErase can be used to erase a segment. More...
 
void FLASH_memoryFill32 (uint32_t value, uint32_t *flash_ptr, uint16_t count)
 Write data into the flash memory in long format, pass by value Assumes the flash memory is already erased. FLASH_segmentErase can be used to erase a segment. More...
 
uint8_t FLASH_status (uint8_t mask)
 Check FLASH status to see if it is currently busy erasing or programming. More...
 
void FLASH_lockInfoA (void)
 Locks the information flash memory segment A. More...
 
void FLASH_unlockInfoA (void)
 Unlocks the information flash memory segment A. More...
 

Copyright 2014, Texas Instruments Incorporated