![]() |
NUC029FAE_BSP V3.02.000
The Board Support Package for NUC029FAE MCU
|

Macros | |
| #define | FMC_SET_APROM_BOOT() (FMC->ISPCON &= ~FMC_ISPCON_BS_Msk) |
| #define | FMC_SET_LDROM_BOOT() (FMC->ISPCON |= FMC_ISPCON_BS_Msk) |
| #define | FMC_DISABLE_AP_UPDATE() (FMC->ISPCON &= ~FMC_ISPCON_APUEN_Msk) |
| #define | FMC_DISABLE_CFG_UPDATE() (FMC->ISPCON &= ~FMC_ISPCON_CFGUEN_Msk) |
| #define | FMC_DISABLE_LD_UPDATE() (FMC->ISPCON &= ~FMC_ISPCON_LDUEN_Msk) |
| #define | FMC_DISABLE_ISP() (FMC->ISPCON &= ~FMC_ISPCON_ISPEN_Msk) |
| #define | FMC_ENABLE_AP_UPDATE() (FMC->ISPCON |= FMC_ISPCON_APUEN_Msk) |
| #define | FMC_ENABLE_LD_UPDATE() (FMC->ISPCON |= FMC_ISPCON_LDUEN_Msk) |
| #define | FMC_ENABLE_CFG_UPDATE() (FMC->ISPCON |= FMC_ISPCON_CFGUEN_Msk) |
| #define | FMC_ENABLE_ISP() (FMC->ISPCON |= FMC_ISPCON_ISPEN_Msk) |
| #define | FMC_GET_FAIL_FLAG() ((FMC->ISPCON & FMC_ISPCON_ISPFF_Msk) ? 1 : 0) |
Functions | |
| void | FMC_SetBootSource (int32_t i32BootSrc) |
| Set boot source of next software reset. More... | |
| void | FMC_Close (void) |
| Disable all FMC functions. More... | |
| void | FMC_DisableAPUpdate (void) |
| Disable APROM update function. More... | |
| void | FMC_DisableConfigUpdate (void) |
| Disable User Configuration update function. More... | |
| void | FMC_DisableLDUpdate (void) |
| Disable LDROM update function. More... | |
| void | FMC_EnableAPUpdate (void) |
| Enable APROM update function. More... | |
| void | FMC_EnableConfigUpdate (void) |
| Enable User Configuration update function. More... | |
| void | FMC_EnableLDUpdate (void) |
| Enable LDROM update function. More... | |
| int32_t | FMC_Erase (uint32_t u32PageAddr) |
| Erase a page. The page size is 512 bytes. More... | |
| int32_t | FMC_GetBootSource (void) |
| get the current boot source More... | |
| void | FMC_Open (void) |
| Enable FMC ISP function. More... | |
| uint32_t | FMC_Read (uint32_t u32Addr) |
| Read a word from specified flash address. More... | |
| uint32_t | FMC_ReadCID (void) |
| Read company ID. More... | |
| uint32_t | FMC_ReadPID (void) |
| Read product ID. More... | |
| uint32_t | FMC_ReadUCID (uint32_t u32Index) |
| This function reads one of the four UCID. More... | |
| uint32_t | FMC_ReadUID (uint32_t u32Index) |
| This function reads one of the three UID. More... | |
| uint32_t | FMC_ReadDataFlashBaseAddr (void) |
| Get the base address of Data Flash if enabled. More... | |
| void | FMC_SetVectorPageAddr (uint32_t u32PageAddr) |
| This function will force re-map assigned flash page to CPU address 0x0. More... | |
| int32_t | FMC_Write (uint32_t u32Addr, uint32_t u32Data) |
| Writes a word data to specified flash address. More... | |
| int32_t | FMC_ReadConfig (uint32_t *u32Config, uint32_t u32Count) |
| Read the User Configuration words. More... | |
| int32_t | FMC_WriteConfig (uint32_t *u32Config, uint32_t u32Count) |
| Write User Configuration. More... | |
Variables | |
| int32_t | g_FMC_i32ErrCode |
| #define FMC_DISABLE_AP_UPDATE | ( | ) | (FMC->ISPCON &= ~FMC_ISPCON_APUEN_Msk) |
| #define FMC_DISABLE_CFG_UPDATE | ( | ) | (FMC->ISPCON &= ~FMC_ISPCON_CFGUEN_Msk) |
| #define FMC_DISABLE_ISP | ( | ) | (FMC->ISPCON &= ~FMC_ISPCON_ISPEN_Msk) |
| #define FMC_DISABLE_LD_UPDATE | ( | ) | (FMC->ISPCON &= ~FMC_ISPCON_LDUEN_Msk) |
| #define FMC_ENABLE_AP_UPDATE | ( | ) | (FMC->ISPCON |= FMC_ISPCON_APUEN_Msk) |
| #define FMC_ENABLE_CFG_UPDATE | ( | ) | (FMC->ISPCON |= FMC_ISPCON_CFGUEN_Msk) |
| #define FMC_ENABLE_ISP | ( | ) | (FMC->ISPCON |= FMC_ISPCON_ISPEN_Msk) |
| #define FMC_ENABLE_LD_UPDATE | ( | ) | (FMC->ISPCON |= FMC_ISPCON_LDUEN_Msk) |
| #define FMC_GET_FAIL_FLAG | ( | ) | ((FMC->ISPCON & FMC_ISPCON_ISPFF_Msk) ? 1 : 0) |
| #define FMC_SET_APROM_BOOT | ( | ) | (FMC->ISPCON &= ~FMC_ISPCON_BS_Msk) |
| #define FMC_SET_LDROM_BOOT | ( | ) | (FMC->ISPCON |= FMC_ISPCON_BS_Msk) |
| void FMC_DisableAPUpdate | ( | void | ) |
| void FMC_DisableConfigUpdate | ( | void | ) |
| void FMC_DisableLDUpdate | ( | void | ) |
| void FMC_EnableConfigUpdate | ( | void | ) |
| void FMC_EnableLDUpdate | ( | void | ) |
| int32_t FMC_Erase | ( | uint32_t | u32PageAddr | ) |
| int32_t FMC_GetBootSource | ( | void | ) |
| uint32_t FMC_Read | ( | uint32_t | u32Addr | ) |
| uint32_t FMC_ReadCID | ( | void | ) |
| int32_t FMC_ReadConfig | ( | uint32_t * | u32Config, |
| uint32_t | u32Count | ||
| ) |
| uint32_t FMC_ReadDataFlashBaseAddr | ( | void | ) |
| uint32_t FMC_ReadPID | ( | void | ) |
| uint32_t FMC_ReadUCID | ( | uint32_t | u32Index | ) |
| uint32_t FMC_ReadUID | ( | uint32_t | u32Index | ) |
| void FMC_SetBootSource | ( | int32_t | i32BootSrc | ) |
| void FMC_SetVectorPageAddr | ( | uint32_t | u32PageAddr | ) |
| int32_t FMC_Write | ( | uint32_t | u32Addr, |
| uint32_t | u32Data | ||
| ) |
| int32_t FMC_WriteConfig | ( | uint32_t * | u32Config, |
| uint32_t | u32Count | ||
| ) |