MINI55_BSP V3.02.004
The Board Support Package for Mini55 Series MCU
Modules | Macros
FMC Exported Constants
Collaboration diagram for FMC Exported Constants:

Modules

 FMC Exported Functions
 

Macros

#define FMC_APROM_BASE   0x00000000UL
 
#define FMC_APROM_END   0x00004600UL
 
#define FMC_LDROM_BASE   0x00100000UL
 
#define FMC_LDROM_END   0x00100800UL
 
#define FMC_CONFIG_BASE   0x00300000UL
 
#define FMC_FLASH_PAGE_SIZE   0x200
 
#define FMC_LDROM_SIZE   0x800
 
#define FMC_ISPCMD_READ   0x00
 
#define FMC_ISPCMD_PROGRAM   0x21
 
#define FMC_ISPCMD_PAGE_ERASE   0x22
 
#define FMC_ISPCMD_READ_CID   0x0B
 
#define FMC_ISPCMD_READ_PID   0x0C
 
#define FMC_ISPCMD_READ_UID   0x04
 
#define FMC_ISPCMD_VECMAP   0x2E
 
#define IS_BOOT_FROM_APROM   0
 
#define IS_BOOT_FROM_LDROM   1
 

Detailed Description

Macro Definition Documentation

◆ FMC_APROM_BASE

#define FMC_APROM_BASE   0x00000000UL

APROM Base Address

Definition at line 34 of file fmc.h.

◆ FMC_APROM_END

#define FMC_APROM_END   0x00004600UL

APROM End Address

Definition at line 35 of file fmc.h.

◆ FMC_CONFIG_BASE

#define FMC_CONFIG_BASE   0x00300000UL

CONFIG Base Address

Definition at line 38 of file fmc.h.

◆ FMC_FLASH_PAGE_SIZE

#define FMC_FLASH_PAGE_SIZE   0x200

Flash Page Size (512 Bytes)

Definition at line 40 of file fmc.h.

◆ FMC_ISPCMD_PAGE_ERASE

#define FMC_ISPCMD_PAGE_ERASE   0x22

ISP Command: Page Erase Flash

Definition at line 49 of file fmc.h.

◆ FMC_ISPCMD_PROGRAM

#define FMC_ISPCMD_PROGRAM   0x21

ISP Command: Program Flash

Definition at line 48 of file fmc.h.

◆ FMC_ISPCMD_READ

#define FMC_ISPCMD_READ   0x00

ISP Command: Read Flash

Definition at line 47 of file fmc.h.

◆ FMC_ISPCMD_READ_CID

#define FMC_ISPCMD_READ_CID   0x0B

ISP Command: Read Company ID

Definition at line 50 of file fmc.h.

◆ FMC_ISPCMD_READ_PID

#define FMC_ISPCMD_READ_PID   0x0C

ISP Command: Read Product ID

Definition at line 51 of file fmc.h.

◆ FMC_ISPCMD_READ_UID

#define FMC_ISPCMD_READ_UID   0x04

ISP Command: Read Unique ID

Definition at line 52 of file fmc.h.

◆ FMC_ISPCMD_VECMAP

#define FMC_ISPCMD_VECMAP   0x2E

ISP Command: Vector Page Remap

Definition at line 53 of file fmc.h.

◆ FMC_LDROM_BASE

#define FMC_LDROM_BASE   0x00100000UL

LDROM Base Address

Definition at line 36 of file fmc.h.

◆ FMC_LDROM_END

#define FMC_LDROM_END   0x00100800UL

LDROM End Address

Definition at line 37 of file fmc.h.

◆ FMC_LDROM_SIZE

#define FMC_LDROM_SIZE   0x800

LDROM Size (2 Kbytes)

Definition at line 41 of file fmc.h.

◆ IS_BOOT_FROM_APROM

#define IS_BOOT_FROM_APROM   0

Is booting from APROM

Definition at line 55 of file fmc.h.

◆ IS_BOOT_FROM_LDROM

#define IS_BOOT_FROM_LDROM   1

Is booting from LDROM

Definition at line 56 of file fmc.h.