Mini51 BSP  V3.02.002
The Board Support Package for Mini51 Series
Functions
fmc.c File Reference

MINI51 series FMC driver source file. More...

#include <stdio.h>
#include "Mini51Series.h"

Go to the source code of this file.

Functions

void FMC_Close (void)
 Disable all FMC functions. 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...
 
uint32_t FMC_GetVectorPageAddr (void)
 Obtain the current vector page address setting. More...
 
void 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...
 

Detailed Description

MINI51 series FMC driver source file.

Version
V1.00
Revision
11
Date
15/10/06 10:18a
Note
SPDX-License-Identifier: Apache-2.0 Copyright (C) 2013~2015 Nuvoton Technology Corp. All rights reserved.

Definition in file fmc.c.