Contiki 3.x
flash-cca.h File Reference

Header file for the flash lock bit page and CCA definitions. More...

#include <stdint.h>

Go to the source code of this file.

Macros

Bootloader backdoor configuration bit fields
#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.
 
Image valid definitions
#define FLASH_CCA_IMAGE_VALID   0x00000000
 Indicates valid image in flash.
 
Lock page / debug definitions
#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.
 

Detailed Description

Header file for the flash lock bit page and CCA definitions.

Definition in file flash-cca.h.