CLEON  Version 1
Cloud-Offloaded GPS Receiver
hal_flash.h
Go to the documentation of this file.
1 
7 #ifndef __HAL_FLASH_H__
8 #define __HAL_FLASH_H__
9 
10 #define ERASE_INTERNAL_FLASH_ON_RESET _DISABLE_
11 
12 #define MSP430_INTERNAL_FLASH_BANK0_ADDRESS 0x008000
13 #define MSP430_INTERNAL_FLASH_BANK1_ADDRESS 0x018000
14 #define MSP430_INTERNAL_FLASH_BANK2_ADDRESS 0x028000
15 #define MSP430_INTERNAL_FLASH_BANK3_ADDRESS 0x038000
16 
17 void HAL_FLASH_Init(void);
18 void HAL_FLASH_Write(unsigned int uiSize, unsigned char *ptrucSource, unsigned char *ptrucDestination);
19 void HAL_FLASH_EraseSegment(unsigned long *ptrulDestination);
20 void HAL_FLASH_EraseBank(unsigned long *ptrulDestination);
21 
22 #endif