LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
IP: SPIFI programming options

Macros

#define S_FORCE_ERASE   4
 
#define S_ERASE_NOT_REQD   8
 
#define S_CALLER_ERASE   8
 
#define S_ERASE_AS_REQD   0
 
#define S_VERIFY_PROG   0x10
 
#define S_VERIFY_ERASE   0x20
 
#define S_NO_VERIFY   0
 
#define S_CALLER_PROT   0x200
 
#define S_DRIVER_PROT   0
 

Detailed Description

Options used to configure SPIFI programming

Macro Definition Documentation

#define S_CALLER_ERASE   8

Erasing is handled by the caller not by the driver

Definition at line 169 of file spifi_rom_api.h.

#define S_CALLER_PROT   0x200

Write protection is handled by the caller not by the driver.

Definition at line 184 of file spifi_rom_api.h.

#define S_DRIVER_PROT   0

The driver removes protection before the operation, and sets it as specified thereafter. (default)

Definition at line 187 of file spifi_rom_api.h.

#define S_ERASE_AS_REQD   0

Erasing is done when necessary. (default)

Definition at line 172 of file spifi_rom_api.h.

#define S_ERASE_NOT_REQD   8

Erasing is handled by the caller not by the driver

Definition at line 166 of file spifi_rom_api.h.

#define S_FORCE_ERASE   4

All sectors in dest to dest+length will be erased

Definition at line 163 of file spifi_rom_api.h.

#define S_NO_VERIFY   0

No reading or checking will be done. (default)

Definition at line 181 of file spifi_rom_api.h.

#define S_VERIFY_ERASE   0x20

Sectors will be read back and checked for 0xFF after erasing.

Definition at line 178 of file spifi_rom_api.h.

#define S_VERIFY_PROG   0x10

Data will be read back and checked after programming.

Definition at line 175 of file spifi_rom_api.h.