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

Data Structures
fmc_reg.h File Reference

FMC register definition header file. More...

Go to the source code of this file.

## Data Structures
struct | FMC_T

## Macros
#define | FMC_ISPCTL_ISPEN_Pos (0)
#define | FMC_ISPCTL_ISPEN_Msk (0x1ul << FMC_ISPCTL_ISPEN_Pos)
#define | FMC_ISPCTL_BS_Pos (1)
#define | FMC_ISPCTL_BS_Msk (0x1ul << FMC_ISPCTL_BS_Pos)
#define | FMC_ISPCTL_SPUEN_Pos (2)
#define | FMC_ISPCTL_SPUEN_Msk (0x1ul << FMC_ISPCTL_SPUEN_Pos)
#define | FMC_ISPCTL_APUEN_Pos (3)
#define | FMC_ISPCTL_APUEN_Msk (0x1ul << FMC_ISPCTL_APUEN_Pos)
#define | FMC_ISPCTL_CFGUEN_Pos (4)
#define | FMC_ISPCTL_CFGUEN_Msk (0x1ul << FMC_ISPCTL_CFGUEN_Pos)
#define | FMC_ISPCTL_LDUEN_Pos (5)
#define | FMC_ISPCTL_LDUEN_Msk (0x1ul << FMC_ISPCTL_LDUEN_Pos)
#define | FMC_ISPCTL_ISPFF_Pos (6)
#define | FMC_ISPCTL_ISPFF_Msk (0x1ul << FMC_ISPCTL_ISPFF_Pos)
#define | FMC_ISPCTL_BL_Pos (16)
#define | FMC_ISPCTL_BL_Msk (0x1ul << FMC_ISPCTL_BL_Pos)
#define | FMC_ISPADDR_ISPADDR_Pos (0)
#define | FMC_ISPADDR_ISPADDR_Msk (0xfffffffful << FMC_ISPADDR_ISPADDR_Pos)
#define | FMC_ISPDAT_ISPDAT_Pos (0)
#define | FMC_ISPDAT_ISPDAT_Msk (0xfffffffful << FMC_ISPDAT_ISPDAT_Pos)
#define | FMC_ISPCMD_CMD_Pos (0)
#define | FMC_ISPCMD_CMD_Msk (0x7ful << FMC_ISPCMD_CMD_Pos)
#define | FMC_ISPTRG_ISPGO_Pos (0)
#define | FMC_ISPTRG_ISPGO_Msk (0x1ul << FMC_ISPTRG_ISPGO_Pos)
#define | FMC_DFBA_DFBA_Pos (0)
#define | FMC_DFBA_DFBA_Msk (0xfffffffful << FMC_DFBA_DFBA_Pos)
#define | FMC_ISPSTS_ISPBUSY_Pos (0)
#define | FMC_ISPSTS_ISPBUSY_Msk (0x1ul << FMC_ISPSTS_ISPBUSY_Pos)
#define | FMC_ISPSTS_CBS_Pos (1)
#define | FMC_ISPSTS_CBS_Msk (0x3ul << FMC_ISPSTS_CBS_Pos)
#define | FMC_ISPSTS_MBS_Pos (3)
#define | FMC_ISPSTS_MBS_Msk (0x1ul << FMC_ISPSTS_MBS_Pos)
#define | FMC_ISPSTS_FCYCDIS_Pos (4)
#define | FMC_ISPSTS_FCYCDIS_Msk (0x1ul << FMC_ISPSTS_FCYCDIS_Pos)
#define | FMC_ISPSTS_PGFF_Pos (5)
#define | FMC_ISPSTS_PGFF_Msk (0x1ul << FMC_ISPSTS_PGFF_Pos)
#define | FMC_ISPSTS_ISPFF_Pos (6)
#define | FMC_ISPSTS_ISPFF_Msk (0x1ul << FMC_ISPSTS_ISPFF_Pos)
#define | FMC_ISPSTS_ALLONE_Pos (7)
#define | FMC_ISPSTS_ALLONE_Msk (0x1ul << FMC_ISPSTS_ALLONE_Pos)
#define | FMC_ISPSTS_VECMAP_Pos (9)
#define | FMC_ISPSTS_VECMAP_Msk (0x7ffful << FMC_ISPSTS_VECMAP_Pos)
#define | FMC_ISPSTS_SCODE_Pos (31)
#define | FMC_ISPSTS_SCODE_Msk (0x1ul << FMC_ISPSTS_SCODE_Pos)
#define | FMC_CYCCTL_CYCLE_Pos (0)
#define | FMC_CYCCTL_CYCLE_Msk (0xful << FMC_CYCCTL_CYCLE_Pos)
#define | FMC_KPKEY0_KPKEY0_Pos (0)
#define | FMC_KPKEY0_KPKEY0_Msk (0xfffffffful << FMC_KPKEY0_KPKEY0_Pos)
#define | FMC_KPKEY1_KPKEY1_Pos (0)
#define | FMC_KPKEY1_KPKEY1_Msk (0xfffffffful << FMC_KPKEY1_KPKEY1_Pos)
#define | FMC_KPKEY2_KPKEY2_Pos (0)
#define | FMC_KPKEY2_KPKEY2_Msk (0xfffffffful << FMC_KPKEY2_KPKEY2_Pos)
#define | FMC_KPKEYTRG_KPKEYGO_Pos (0)
#define | FMC_KPKEYTRG_KPKEYGO_Msk (0x1ul << FMC_KPKEYTRG_KPKEYGO_Pos)
#define | FMC_KPKEYTRG_TCEN_Pos (1)
#define | FMC_KPKEYTRG_TCEN_Msk (0x1ul << FMC_KPKEYTRG_TCEN_Pos)
#define | FMC_KPKEYSTS_KEYBUSY_Pos (0)
#define | FMC_KPKEYSTS_KEYBUSY_Msk (0x1ul << FMC_KPKEYSTS_KEYBUSY_Pos)
#define | FMC_KPKEYSTS_KEYLOCK_Pos (1)
#define | FMC_KPKEYSTS_KEYLOCK_Msk (0x1ul << FMC_KPKEYSTS_KEYLOCK_Pos)
#define | FMC_KPKEYSTS_KEYMATCH_Pos (2)
#define | FMC_KPKEYSTS_KEYMATCH_Msk (0x1ul << FMC_KPKEYSTS_KEYMATCH_Pos)
#define | FMC_KPKEYSTS_FORBID_Pos (3)
#define | FMC_KPKEYSTS_FORBID_Msk (0x1ul << FMC_KPKEYSTS_FORBID_Pos)
#define | FMC_KPKEYSTS_KEYFLAG_Pos (4)
#define | FMC_KPKEYSTS_KEYFLAG_Msk (0x1ul << FMC_KPKEYSTS_KEYFLAG_Pos)
#define | FMC_KPKEYSTS_CFGFLAG_Pos (5)
#define | FMC_KPKEYSTS_CFGFLAG_Msk (0x1ul << FMC_KPKEYSTS_CFGFLAG_Pos)
#define | FMC_KPKEYSTS_SPFLAG_Pos (6)
#define | FMC_KPKEYSTS_SPFLAG_Msk (0x1ul << FMC_KPKEYSTS_SPFLAG_Pos)
#define | FMC_KPKEYCNT_KPKECNT_Pos (0)
#define | FMC_KPKEYCNT_KPKECNT_Msk (0x3ful << FMC_KPKEYCNT_KPKECNT_Pos)
#define | FMC_KPKEYCNT_KPKEMAX_Pos (8)
#define | FMC_KPKEYCNT_KPKEMAX_Msk (0x3ful << FMC_KPKEYCNT_KPKEMAX_Pos)
#define | FMC_KPCNT_KPCNT_Pos (0)
#define | FMC_KPCNT_KPCNT_Msk (0xful << FMC_KPCNT_KPCNT_Pos)
#define | FMC_KPCNT_KPMAX_Pos (8)
#define | FMC_KPCNT_KPMAX_Msk (0xful << FMC_KPCNT_KPMAX_Pos)
#define | FMC_MPDAT0_ISPDAT0_Pos (0)
#define | FMC_MPDAT0_ISPDAT0_Msk (0xfffffffful << FMC_MPDAT0_ISPDAT0_Pos)
#define | FMC_MPDAT1_ISPDAT1_Pos (0)
#define | FMC_MPDAT1_ISPDAT1_Msk (0xfffffffful << FMC_MPDAT1_ISPDAT1_Pos)
#define | FMC_MPDAT2_ISPDAT2_Pos (0)
#define | FMC_MPDAT2_ISPDAT2_Msk (0xfffffffful << FMC_MPDAT2_ISPDAT2_Pos)
#define | FMC_MPDAT3_ISPDAT3_Pos (0)
#define | FMC_MPDAT3_ISPDAT3_Msk (0xfffffffful << FMC_MPDAT3_ISPDAT3_Pos)
#define | FMC_MPSTS_MPBUSY_Pos (0)
#define | FMC_MPSTS_MPBUSY_Msk (0x1ul << FMC_MPSTS_MPBUSY_Pos)
#define | FMC_MPSTS_PPGO_Pos (1)
#define | FMC_MPSTS_PPGO_Msk (0x1ul << FMC_MPSTS_PPGO_Pos)
#define | FMC_MPSTS_ISPFF_Pos (2)
#define | FMC_MPSTS_ISPFF_Msk (0x1ul << FMC_MPSTS_ISPFF_Pos)
#define | FMC_MPSTS_D0_Pos (4)
#define | FMC_MPSTS_D0_Msk (0x1ul << FMC_MPSTS_D0_Pos)
#define | FMC_MPSTS_D1_Pos (5)
#define | FMC_MPSTS_D1_Msk (0x1ul << FMC_MPSTS_D1_Pos)
#define | FMC_MPSTS_D2_Pos (6)
#define | FMC_MPSTS_D2_Msk (0x1ul << FMC_MPSTS_D2_Pos)
#define | FMC_MPSTS_D3_Pos (7)
#define | FMC_MPSTS_D3_Msk (0x1ul << FMC_MPSTS_D3_Pos)
#define | FMC_MPADDR_MPADDR_Pos (0)
#define | FMC_MPADDR_MPADDR_Msk (0xfffffffful << FMC_MPADDR_MPADDR_Pos)
#define | FMC_XOMR0STS_SIZE_Pos (0)
#define | FMC_XOMR0STS_SIZE_Msk (0xfful << FMC_XOMR0STS_SIZE_Pos)
#define | FMC_XOMR0STS_BASE_Pos (8)
#define | FMC_XOMR0STS_BASE_Msk (0xfffffful << FMC_XOMR0STS_BASE_Pos)
#define | FMC_XOMR1STS_SIZE_Pos (0)
#define | FMC_XOMR1STS_SIZE_Msk (0xfful << FMC_XOMR1STS_SIZE_Pos)
#define | FMC_XOMR1STS_BASE_Pos (8)
#define | FMC_XOMR1STS_BASE_Msk (0xfffffful << FMC_XOMR1STS_BASE_Pos)
#define | FMC_XOMR2STS_SIZE_Pos (0)
#define | FMC_XOMR2STS_SIZE_Msk (0xfful << FMC_XOMR2STS_SIZE_Pos)
#define | FMC_XOMR2STS_BASE_Pos (8)
#define | FMC_XOMR2STS_BASE_Msk (0xfffffful << FMC_XOM20STS_BASE_Pos)
#define | FMC_XOMR3STS_SIZE_Pos (0)
#define | FMC_XOMR3STS_SIZE_Msk (0xfful << FMC_XOMR3STS_SIZE_Pos)
#define | FMC_XOMR3STS_BASE_Pos (8)
#define | FMC_XOMR3STS_BASE_Msk (0xfffffful << FMC_XOMR3STS_BASE_Pos)
#define | FMC_XOMSTS_XOMR0ON_Pos (0)
#define | FMC_XOMSTS_XOMR0ON_Msk (0x1ul << FMC_XOMSTS_XOMR0ON_Pos)
#define | FMC_XOMSTS_XOMR1ON_Pos (1)
#define | FMC_XOMSTS_XOMR1ON_Msk (0x1ul << FMC_XOMSTS_XOMR1ON_Pos)
#define | FMC_XOMSTS_XOMR2ON_Pos (2)
#define | FMC_XOMSTS_XOMR2ON_Msk (0x1ul << FMC_XOMSTS_XOMR2ON_Pos)
#define | FMC_XOMSTS_XOMR3ON_Pos (3)
#define | FMC_XOMSTS_XOMR3ON_Msk (0x1ul << FMC_XOMSTS_XOMR3ON_Pos)
#define | FMC_XOMSTS_XOMPEF_Pos (4)
#define | FMC_XOMSTS_XOMPEF_Msk (0x1ul << FMC_XOMSTS_XOMPEF_Pos)

## Detailed Description

FMC register definition header file.

Version
  V1.00 SPDX-License-Identifier: Apache-2.0

Copyright
  (C) 2017-2020 Nuvoton Technology Corp. All rights reserved.

Definition in file fmc_reg.h.