49 #define BCR_MBKEN_Set ((uint32_t)0x00000001)
50 #define BCR_MBKEN_Reset ((uint32_t)0x000FFFFE)
51 #define BCR_FACCEN_Set ((uint32_t)0x00000040)
54 #define PCR_PBKEN_Set ((uint32_t)0x00000004)
55 #define PCR_PBKEN_Reset ((uint32_t)0x000FFFFB)
56 #define PCR_ECCEN_Set ((uint32_t)0x00000040)
57 #define PCR_ECCEN_Reset ((uint32_t)0x000FFFBF)
58 #define PCR_MemoryType_NAND ((uint32_t)0x00000008)
264 uint32_t tmppcr = 0x00000000, tmppmem = 0x00000000, tmppatt = 0x00000000;
605 uint32_t eccval = 0x00000000;
700 uint32_t tmpsr = 0x00000000;
721 if ((tmpsr & FSMC_FLAG) != (uint16_t)
RESET )
785 uint32_t tmpsr = 0x0, itstatus = 0x0, itenable = 0x0;
805 itstatus = tmpsr & FSMC_IT;
807 itenable = tmpsr & (FSMC_IT >> 3);
808 if ((itstatus != (uint32_t)
RESET) && (itenable != (uint32_t)RESET))