MG32F10x Standard Peripherals Firmware Library
Macros | Functions
mg32f10x_fmc.c File Reference

This file provides all the FMC firmware functions. More...

#include "mg32f10x_fmc.h"

Macros

#define FLASH_OP_RAM_CODE   {0xBF006008, 0x06006808, 0x4770D4FC}
 
#define PRE_OP()   ((void(*)(void))((unsigned int)(pre_op_code) | 0x01))()
 

Functions

uint32_t FMC_ClearPageLatch (void)
 Clear page latches. More...
 
uint32_t FMC_ErasePage (uint32_t Page_Address)
 Erase a specified FLASH page. More...
 
uint32_t FMC_EraseSector (uint32_t Sector_Address)
 Erase a specified FLASH sector. More...
 
uint32_t FMC_EraseBulk (void)
 Erase main flash memory. More...
 
uint32_t FMC_ProgramPage (uint32_t Page_Address)
 Programs the data to the specified page address. More...
 

Detailed Description

This file provides all the FMC firmware functions.

Author
megawin Application Team
Version
V0.1.10
Date
05-January-2023