| M480 BSP V3.05.001 The Board Support Package for M480 Series

Macros
FMC Exported Constants
Standard Driver » FMC Driver

## Macros
#define | FMC_APROM_BASE
#define | FMC_APROM_END
#define | FMC_APROM_BANK0_END
#define | FMC_LDROM_BASE
#define | FMC_LDROM_END
#define | FMC_SPROM_BASE
#define | FMC_SPROM_END
#define | FMC_XOM_BASE
#define | FMC_XOMR0_BASE
#define | FMC_XOMR1_BASE
#define | FMC_XOMR2_BASE
#define | FMC_XOMR3_BASE
#define | FMC_CONFIG_BASE
#define | FMC_USER_CONFIG_0
#define | FMC_USER_CONFIG_1
#define | FMC_USER_CONFIG_2
#define | FMC_KPROM_BASE
#define | FMC_OTP_BASE
#define | FMC_FLASH_PAGE_SIZE
#define | FMC_PAGE_ADDR_MASK
#define | FMC_MULTI_WORD_PROG_LEN 512
#define | FMC_APROM_SIZE
#define | FMC_BANK_SIZE
#define | FMC_LDROM_SIZE
#define | FMC_SPROM_SIZE
#define | FMC_OTP_ENTRY_CNT
#define | XOMR0 0UL
#define | XOMR1 1UL
#define | XOMR2 2UL
#define | XOMR3 3UL
#define | IS_BOOT_FROM_LDROM 0x1UL
#define | IS_BOOT_FROM_APROM 0x0UL
#define | FMC_ISPCMD_READ
#define | FMC_ISPCMD_READ_UID
#define | FMC_ISPCMD_READ_ALL1
#define | FMC_ISPCMD_READ_CID
#define | FMC_ISPCMD_READ_DID
#define | FMC_ISPCMD_READ_CKS
#define | FMC_ISPCMD_PROGRAM
#define | FMC_ISPCMD_PAGE_ERASE
#define | FMC_ISPCMD_BANK_ERASE
#define | FMC_ISPCMD_BLOCK_ERASE
#define | FMC_ISPCMD_PROGRAM_MUL
#define | FMC_ISPCMD_RUN_ALL1
#define | FMC_ISPCMD_RUN_CKS
#define | FMC_ISPCMD_VECMAP
#define | FMC_ISPCMD_READ_64
#define | FMC_ISPCMD_PROGRAM_64
#define | READ_ALLONE_YES
#define | READ_ALLONE_NOT
#define | READ_ALLONE_CMD_FAIL

## Detailed Description

## Macro Definition Documentation

## ◆ FMC_APROM_BANK0_END

#define FMC_APROM_BANK0_END

APROM bank0 end address

Definition at line 36 of file fmc.h.

## ◆ FMC_APROM_BASE

#define FMC_APROM_BASE

APROM base address

Definition at line 34 of file fmc.h.

## ◆ FMC_APROM_END

#define FMC_APROM_END

APROM end address

Definition at line 35 of file fmc.h.

## ◆ FMC_APROM_SIZE

#define FMC_APROM_SIZE

APROM Size

Definition at line 57 of file fmc.h.

## ◆ FMC_BANK_SIZE

#define FMC_BANK_SIZE

APROM Bank Size

Definition at line 58 of file fmc.h.

## ◆ FMC_CONFIG_BASE

#define FMC_CONFIG_BASE

User Configuration address

Definition at line 46 of file fmc.h.

## ◆ FMC_FLASH_PAGE_SIZE

#define FMC_FLASH_PAGE_SIZE

Flash Page Size (4K bytes)

Definition at line 53 of file fmc.h.

## ◆ FMC_ISPCMD_BANK_ERASE

#define FMC_ISPCMD_BANK_ERASE

ISP Command: Erase Flash bank 0 or 1

Definition at line 88 of file fmc.h.

## ◆ FMC_ISPCMD_BLOCK_ERASE

#define FMC_ISPCMD_BLOCK_ERASE

ISP Command: Erase 4 pages alignment of APROM in bank 0 or 1

Definition at line 89 of file fmc.h.

## ◆ FMC_ISPCMD_PAGE_ERASE

#define FMC_ISPCMD_PAGE_ERASE

ISP Command: Page Erase Flash

Definition at line 87 of file fmc.h.

## ◆ FMC_ISPCMD_PROGRAM

#define FMC_ISPCMD_PROGRAM

ISP Command: Write flash word

Definition at line 86 of file fmc.h.

## ◆ FMC_ISPCMD_PROGRAM_64

#define FMC_ISPCMD_PROGRAM_64

ISP Command: Write double flash word

Definition at line 95 of file fmc.h.

## ◆ FMC_ISPCMD_PROGRAM_MUL

#define FMC_ISPCMD_PROGRAM_MUL

ISP Command: Multuple word program

Definition at line 90 of file fmc.h.

## ◆ FMC_ISPCMD_READ

#define FMC_ISPCMD_READ

ISP Command: Read flash word

Definition at line 80 of file fmc.h.

## ◆ FMC_ISPCMD_READ_64

#define FMC_ISPCMD_READ_64

ISP Command: Read double flash word

Definition at line 94 of file fmc.h.

## ◆ FMC_ISPCMD_READ_ALL1

#define FMC_ISPCMD_READ_ALL1

ISP Command: Read all-one result

Definition at line 82 of file fmc.h.

## ◆ FMC_ISPCMD_READ_CID

#define FMC_ISPCMD_READ_CID

ISP Command: Read Company ID

Definition at line 83 of file fmc.h.

## ◆ FMC_ISPCMD_READ_CKS

#define FMC_ISPCMD_READ_CKS

ISP Command: Read checksum

Definition at line 85 of file fmc.h.

## ◆ FMC_ISPCMD_READ_DID

#define FMC_ISPCMD_READ_DID

ISP Command: Read Device ID

Definition at line 84 of file fmc.h.

## ◆ FMC_ISPCMD_READ_UID

#define FMC_ISPCMD_READ_UID

ISP Command: Read Unique ID

Definition at line 81 of file fmc.h.

## ◆ FMC_ISPCMD_RUN_ALL1

#define FMC_ISPCMD_RUN_ALL1

ISP Command: Run all-one verification

Definition at line 91 of file fmc.h.

## ◆ FMC_ISPCMD_RUN_CKS

#define FMC_ISPCMD_RUN_CKS

ISP Command: Run checksum calculation

Definition at line 92 of file fmc.h.

## ◆ FMC_ISPCMD_VECMAP

#define FMC_ISPCMD_VECMAP

ISP Command: Vector Page Remap

Definition at line 93 of file fmc.h.

## ◆ FMC_KPROM_BASE

#define FMC_KPROM_BASE

Security ROM base address

Definition at line 50 of file fmc.h.

## ◆ FMC_LDROM_BASE

#define FMC_LDROM_BASE

LDROM base address

Definition at line 37 of file fmc.h.

## ◆ FMC_LDROM_END

#define FMC_LDROM_END

LDROM end address

Definition at line 38 of file fmc.h.

## ◆ FMC_LDROM_SIZE

#define FMC_LDROM_SIZE

LDROM Size (4 Kbytes)

Definition at line 59 of file fmc.h.

## ◆ FMC_MULTI_WORD_PROG_LEN

#define FMC_MULTI_WORD_PROG_LEN 512

The maximum length of a multi-word program.

Definition at line 55 of file fmc.h.

## ◆ FMC_OTP_BASE

#define FMC_OTP_BASE

OTP flash base address

Definition at line 51 of file fmc.h.

## ◆ FMC_OTP_ENTRY_CNT

#define FMC_OTP_ENTRY_CNT

OTP entry number

Definition at line 61 of file fmc.h.

## ◆ FMC_PAGE_ADDR_MASK

#define FMC_PAGE_ADDR_MASK

Flash page address mask

Definition at line 54 of file fmc.h.

## ◆ FMC_SPROM_BASE

#define FMC_SPROM_BASE

SPROM base address

Definition at line 39 of file fmc.h.

## ◆ FMC_SPROM_END

#define FMC_SPROM_END

SPROM end address

Definition at line 40 of file fmc.h.

## ◆ FMC_SPROM_SIZE

#define FMC_SPROM_SIZE

SPROM Size (4 Kbytes)

Definition at line 60 of file fmc.h.

## ◆ FMC_USER_CONFIG_0

#define FMC_USER_CONFIG_0

User Config 0 address

Definition at line 47 of file fmc.h.

## ◆ FMC_USER_CONFIG_1

#define FMC_USER_CONFIG_1

User Config 1 address

Definition at line 48 of file fmc.h.

## ◆ FMC_USER_CONFIG_2

#define FMC_USER_CONFIG_2

User Config 2 address

Definition at line 49 of file fmc.h.

## ◆ FMC_XOM_BASE

#define FMC_XOM_BASE

XOM Base Address

Definition at line 41 of file fmc.h.

## ◆ FMC_XOMR0_BASE

#define FMC_XOMR0_BASE

XOMR 0 Base Address

Definition at line 42 of file fmc.h.

## ◆ FMC_XOMR1_BASE

#define FMC_XOMR1_BASE

XOMR 1 Base Address

Definition at line 43 of file fmc.h.

## ◆ FMC_XOMR2_BASE

#define FMC_XOMR2_BASE

XOMR 2 Base Address

Definition at line 44 of file fmc.h.

## ◆ FMC_XOMR3_BASE

#define FMC_XOMR3_BASE

XOMR 3 Base Address

Definition at line 45 of file fmc.h.

## ◆ IS_BOOT_FROM_APROM

#define IS_BOOT_FROM_APROM 0x0UL

ISPCTL setting to select to boot from APROM

Definition at line 75 of file fmc.h.

## ◆ IS_BOOT_FROM_LDROM

#define IS_BOOT_FROM_LDROM 0x1UL

ISPCTL setting to select to boot from LDROM

Definition at line 74 of file fmc.h.

## ◆ READ_ALLONE_CMD_FAIL

#define READ_ALLONE_CMD_FAIL

Check-all-one command failed.

Definition at line 99 of file fmc.h.

## ◆ READ_ALLONE_NOT

#define READ_ALLONE_NOT

Check-all-one result is not all one.

Definition at line 98 of file fmc.h.

## ◆ READ_ALLONE_YES

#define READ_ALLONE_YES

Check-all-one result is all one.

Definition at line 97 of file fmc.h.

## ◆ XOMR0

#define XOMR0 0UL

XOM region 0

Definition at line 66 of file fmc.h.

## ◆ XOMR1

#define XOMR1 1UL

XOM region 1

Definition at line 67 of file fmc.h.

## ◆ XOMR2

#define XOMR2 2UL

XOM region 2

Definition at line 68 of file fmc.h.

## ◆ XOMR3

#define XOMR3 3UL

XOM region 3

Definition at line 69 of file fmc.h.