Definitions for the cc2538 flash memory.
More...
|
file | flash.h |
| Header file for the flash memory definitions.
|
|
|
#define | FLASH_PAGE_SIZE 2048 |
|
#define | FLASH_WORD_SIZE 4 |
|
|
#define | FLASH_CCA_ADDR |
| Address.
|
|
#define | FLASH_CCA_SIZE 0x0000002C |
| Size in bytes.
|
|
|
#define | FLASH_CCA_BOOTLDR_CFG_DISABLE 0xEFFFFFFF |
| Disable backdoor function.
|
|
#define | FLASH_CCA_BOOTLDR_CFG_ENABLE 0xF0FFFFFF |
| Enable backdoor function.
|
|
#define | FLASH_CCA_BOOTLDR_CFG_ACTIVE_HIGH 0x08000000 |
| Selected pin on pad A active high.
|
|
#define | FLASH_CCA_BOOTLDR_CFG_PORT_A_PIN_M 0x07000000 |
| Selected pin on pad A mask.
|
|
#define | FLASH_CCA_BOOTLDR_CFG_PORT_A_PIN_S 24 |
| Selected pin on pad A shift.
|
|
|
#define | FLASH_CCA_IMAGE_VALID 0x00000000 |
| Indicates valid image in flash.
|
|
|
#define | FLASH_CCA_LOCKED 0 |
| Page or debug locked if bit == 0.
|
|
#define | FLASH_CCA_LOCK_DEBUG_BYTE 31 |
| Lock byte containing the debug lock bit.
|
|
#define | FLASH_CCA_LOCK_DEBUG_BIT 7 |
| Debug lock bit position in the corresponding lock byte.
|
|
Definitions for the cc2538 flash memory.