CLEON
Version 1
Cloud-Offloaded GPS Receiver
|
FLASH configuration. More...
Go to the source code of this file.
Macros | |
#define | ERASE_INTERNAL_FLASH_ON_RESET _DISABLE_ |
#define | MSP430_INTERNAL_FLASH_BANK0_ADDRESS 0x008000 |
#define | MSP430_INTERNAL_FLASH_BANK1_ADDRESS 0x018000 |
#define | MSP430_INTERNAL_FLASH_BANK2_ADDRESS 0x028000 |
#define | MSP430_INTERNAL_FLASH_BANK3_ADDRESS 0x038000 |
Functions | |
void | HAL_FLASH_Init (void) |
Initializing FLASH. | |
void | HAL_FLASH_Write (unsigned int uiSize, unsigned char *ptrucSource, unsigned char *ptrucDestination) |
Write data to internal FLASH. | |
void | HAL_FLASH_EraseSegment (unsigned long *ptrulDestination) |
Erase FLASH segement. | |
void | HAL_FLASH_EraseBank (unsigned long *ptrulDestination) |
Erase FLASH bank. | |
FLASH configuration.
Definition in file hal_flash.h.
#define ERASE_INTERNAL_FLASH_ON_RESET _DISABLE_ |
Definition at line 10 of file hal_flash.h.
#define MSP430_INTERNAL_FLASH_BANK0_ADDRESS 0x008000 |
Definition at line 12 of file hal_flash.h.
#define MSP430_INTERNAL_FLASH_BANK1_ADDRESS 0x018000 |
Definition at line 13 of file hal_flash.h.
#define MSP430_INTERNAL_FLASH_BANK2_ADDRESS 0x028000 |
Definition at line 14 of file hal_flash.h.
#define MSP430_INTERNAL_FLASH_BANK3_ADDRESS 0x038000 |
Definition at line 15 of file hal_flash.h.
void HAL_FLASH_EraseBank | ( | unsigned long * | ptrulDestination | ) |
Erase FLASH bank.
*ptrulDestination | - base address of FLAHS bank |
Definition at line 81 of file hal_flash.c.
void HAL_FLASH_EraseSegment | ( | unsigned long * | ptrulDestination | ) |
Erase FLASH segement.
*ptrulDestination | - base address of FLAHS segment |
Definition at line 63 of file hal_flash.c.
void HAL_FLASH_Init | ( | void | ) |
Initializing FLASH.
void |
Definition at line 21 of file hal_flash.c.
void HAL_FLASH_Write | ( | unsigned int | uiSize, |
unsigned char * | ptrucSource, | ||
unsigned char * | ptrucDestination | ||
) |
Write data to internal FLASH.
uiSize | - size of source data |
*ptrulSource | - base address of source data |
*ptrulDestination | - base address of FLASH destination |
Definition at line 40 of file hal_flash.c.