![]() |
M471M/R1/S BSP V3.01.000
The Board Support Package for M4521
|
M471M/R1/S Flash Memory Controller Driver Header File. More...
#include "NuMicro.h"
Go to the source code of this file.
Functions | |
static __INLINE void | FMC_Write (uint32_t u32Addr, uint32_t u32Data) |
Program 32-bit data into specified address of flash. More... | |
static __INLINE void | FMC_Write8 (uint32_t u32Addr, uint32_t u32Data0, uint32_t u32Data1) |
Program 64-bit data into specified address of flash. More... | |
static __INLINE uint32_t | FMC_Read (uint32_t u32Addr) |
Read 32-bit Data from specified address of flash. More... | |
static __INLINE int32_t | FMC_Erase (uint32_t u32Addr) |
Flash page erase. More... | |
static __INLINE uint32_t | FMC_ReadUID (uint8_t u8Index) |
Read Unique ID. More... | |
static __INLINE uint32_t | FMC_ReadCID (void) |
Read company ID. More... | |
static __INLINE uint32_t | FMC_ReadPID (void) |
Read product ID. More... | |
static __INLINE uint32_t | FMC_ReadUCID (uint32_t u32Index) |
To read UCID. More... | |
static __INLINE void | FMC_SetVectorPageAddr (uint32_t u32PageAddr) |
Set vector mapping address. More... | |
static __INLINE uint32_t | FMC_GetVECMAP (void) |
Get current vector mapping address. More... | |
static __INLINE uint32_t | FMC_GetCheckSum (uint32_t u32Addr, int32_t i32Size) |
Get Flash Checksum. More... | |
static __INLINE void | FMC_Write256 (uint32_t u32Addr, uint32_t *pu32Buf) |
Program Multi-Word data into specified address of flash. More... | |
void | FMC_Open (void) |
Enable FMC ISP function. More... | |
void | FMC_Close (void) |
Disable ISP Functions. More... | |
void | FMC_EnableAPUpdate (void) |
Enable APROM update function. More... | |
void | FMC_DisableAPUpdate (void) |
Disable APROM update function. More... | |
void | FMC_EnableConfigUpdate (void) |
Enable User Configuration update function. More... | |
void | FMC_DisableConfigUpdate (void) |
Disable User Configuration update function. More... | |
void | FMC_EnableLDUpdate (void) |
Enable LDROM update function. More... | |
void | FMC_DisableLDUpdate (void) |
Disable LDROM update function. 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... | |
void | FMC_SetBootSource (int32_t i32BootSrc) |
Set boot source from LDROM or APROM after next software reset. More... | |
int32_t | FMC_GetBootSource (void) |
Get the current boot source. More... | |
uint32_t | FMC_ReadDataFlashBaseAddr (void) |
Get the base address of Data Flash if enabled. More... | |
void | FMC_EnableFreqOptimizeMode (uint32_t u32Mode) |
Enable Flash Access Frequency Optimization Mode. More... | |
void | FMC_DisableFreqOptimizeMode (void) |
Disable Flash Access Frequency Optimization Mode. More... | |
Variables | |
int32_t | g_FMC_i32ErrCode |
M471M/R1/S Flash Memory Controller Driver Header File.
SPDX-License-Identifier: Apache-2.0
Definition in file fmc.h.
|
extern |