| NANO102/112 BSP V3.04.000 The Board Support Package for Nano102/112 Series

Modules | Macros
FMC Exported Constants
NANO102/112 Device Driver » FMC Driver
Collaboration diagram for FMC Exported Constants:

## Modules
| FMC Exported Functions

## Macros
#define | FMC_APROM_BASE 0x00000000UL
#define | FMC_APROM_END 0x00008000UL
#define | FMC_LDROM_BASE 0x00100000UL
#define | FMC_LDROM_END 0x00101000UL
#define | FMC_SPROM_BASE 0x00200000UL
#define | FMC_SPROM_END 0x00200200UL
#define | FMC_CONFIG_BASE 0x00300000UL
#define | FMC_FLASH_PAGE_SIZE 0x200
#define | FMC_LDROM_SIZE 0x1000
#define | FMC_TIMEOUT_READ
#define | FMC_TIMEOUT_WRITE
#define | FMC_TIMEOUT_ERASE
#define | FMC_TIMEOUT_CHKSUM
#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 38 of file fmc.h.

## ◆ FMC_APROM_END

#define FMC_APROM_END 0x00008000UL

APROM End Address

Definition at line 39 of file fmc.h.

## ◆ FMC_CONFIG_BASE

#define FMC_CONFIG_BASE 0x00300000UL

User Configuration Address

Definition at line 44 of file fmc.h.

## ◆ FMC_FLASH_PAGE_SIZE

#define FMC_FLASH_PAGE_SIZE 0x200

Flash Page Size (512 bytes)

Definition at line 46 of file fmc.h.

## ◆ FMC_ISPCMD_PAGE_ERASE

#define FMC_ISPCMD_PAGE_ERASE 0x22

ISP Command: Page Erase Flash

Definition at line 59 of file fmc.h.

## ◆ FMC_ISPCMD_PROGRAM

#define FMC_ISPCMD_PROGRAM 0x21

ISP Command: Write flash word

Definition at line 58 of file fmc.h.

## ◆ FMC_ISPCMD_READ

#define FMC_ISPCMD_READ 0x00

ISP Command: Read flash word

Definition at line 57 of file fmc.h.

## ◆ FMC_ISPCMD_READ_CID

#define FMC_ISPCMD_READ_CID 0x0B

ISP Command: Read Company ID

Definition at line 60 of file fmc.h.

## ◆ FMC_ISPCMD_READ_PID

#define FMC_ISPCMD_READ_PID 0x0C

ISP Command: Read Product ID

Definition at line 61 of file fmc.h.

## ◆ FMC_ISPCMD_READ_UID

#define FMC_ISPCMD_READ_UID 0x04

ISP Command: Read Unique ID

Definition at line 62 of file fmc.h.

## ◆ FMC_ISPCMD_VECMAP

#define FMC_ISPCMD_VECMAP 0x2E

ISP Command: Vector Page Remap

Definition at line 63 of file fmc.h.

## ◆ FMC_LDROM_BASE

#define FMC_LDROM_BASE 0x00100000UL

LDROM Base Address

Definition at line 40 of file fmc.h.

## ◆ FMC_LDROM_END

#define FMC_LDROM_END 0x00101000UL

LDROM End Address

Definition at line 41 of file fmc.h.

## ◆ FMC_LDROM_SIZE

#define FMC_LDROM_SIZE 0x1000

LDROM Size (4 Kbytes)

Definition at line 47 of file fmc.h.

## ◆ FMC_SPROM_BASE

#define FMC_SPROM_BASE 0x00200000UL

SPROM Base Address

Definition at line 42 of file fmc.h.

## ◆ FMC_SPROM_END

#define FMC_SPROM_END 0x00200200UL

SPROM End Address

Definition at line 43 of file fmc.h.

## ◆ FMC_TIMEOUT_CHKSUM

#define FMC_TIMEOUT_CHKSUM

Get checksum command time-out 2 s

Definition at line 52 of file fmc.h.

## ◆ FMC_TIMEOUT_ERASE

#define FMC_TIMEOUT_ERASE

Erase command time-out 200 ms

Definition at line 51 of file fmc.h.

## ◆ FMC_TIMEOUT_READ

#define FMC_TIMEOUT_READ

Read command time-out 100 ms

Definition at line 49 of file fmc.h.

## ◆ FMC_TIMEOUT_WRITE

#define FMC_TIMEOUT_WRITE

Write command time-out 100 ms

Definition at line 50 of file fmc.h.

## ◆ IS_BOOT_FROM_APROM

#define IS_BOOT_FROM_APROM 0

Is booting from APROM

Definition at line 65 of file fmc.h.

## ◆ IS_BOOT_FROM_LDROM

#define IS_BOOT_FROM_LDROM 1

Is booting from LDROM

Definition at line 66 of file fmc.h.