![]() |
NANO103 BSP V3.01.004
The Board Support Package for Nano103 Series
|
NANO103 Series Flash Memory Controller Driver Header File. More...
Go to the source code of this file.
Functions | |
void | FMC_Close (void) |
Disable FMC ISP function. More... | |
int32_t | FMC_Erase (uint32_t u32PageAddr) |
Execute FMC_ISPCMD_PAGE_ERASE command to erase a flash 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) |
Execute ISP command to read a word from flash. 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... | |
uint32_t | FMC_GetVectorPageAddr (void) |
Obtain the current vector page address setting. More... | |
int32_t | FMC_Write (uint32_t u32Addr, uint32_t u32Data) |
Execute ISP command to program a word to flash. More... | |
int32_t | FMC_ReadConfig (uint32_t *u32Config, uint32_t u32Count) |
Execute ISP command to read User Configuration. More... | |
int32_t | FMC_WriteConfig (uint32_t *u32Config, uint32_t u32Count) |
Execute ISP command to write User Configuration. More... | |
int32_t | FMC_GetChkSum (uint32_t u32Addr, uint32_t u32Count, uint32_t *u32ChkSum) |
Run CRC32 checksum calculation and get result. More... | |
uint32_t | FMC_CheckAllOne (uint32_t u32Addr, uint32_t u32Count) |
Run flash all one verification and get result. More... | |
int32_t | FMC_SKey_Setup (uint32_t key[3], uint32_t kpmax, uint32_t kemax, int lock_CONFIG) |
Setup security key. More... | |
int32_t | FMC_SKey_Compare (uint32_t key[3]) |
Execute security key comparison. More... | |
NANO103 Series Flash Memory Controller Driver Header File.
Definition in file fmc.h.