MG32F10x Standard Peripherals Firmware Library
mg32f10x_fmc.h
Go to the documentation of this file.
1 
10 /* Define to prevent recursive inclusion -------------------------------------*/
11 #ifndef __MG32F10x_FMC_H
12 #define __MG32F10x_FMC_H
13 
14 #ifdef __cplusplus
15  extern "C" {
16 #endif
17 
18 /* Includes ------------------------------------------------------------------*/
19 #include "mg32f10x.h"
20 
29 /* Exported types ------------------------------------------------------------*/
30 /* Exported constants --------------------------------------------------------*/
31 /* Exported macro ------------------------------------------------------------*/
32 /* Exported functions --------------------------------------------------------*/
33 
34 uint32_t FMC_ClearPageLatch(void);
35 uint32_t FMC_ErasePage(uint32_t Page_Address);
36 uint32_t FMC_EraseSector(uint32_t Sector_Address);
37 uint32_t FMC_EraseBulk(void);
38 uint32_t FMC_ProgramPage(uint32_t Page_Address);
39 
48 #ifdef __cplusplus
49 }
50 #endif
51 
52 #endif /* __MG32F10x_FMC_H */
uint32_t FMC_EraseBulk(void)
Erase main flash memory.
Definition: mg32f10x_fmc.c:165
uint32_t FMC_ErasePage(uint32_t Page_Address)
Erase a specified FLASH page.
Definition: mg32f10x_fmc.c:124
uint32_t FMC_EraseSector(uint32_t Sector_Address)
Erase a specified FLASH sector.
Definition: mg32f10x_fmc.c:145
uint32_t FMC_ProgramPage(uint32_t Page_Address)
Programs the data to the specified page address.
Definition: mg32f10x_fmc.c:186
uint32_t FMC_ClearPageLatch(void)
Clear page latches.
Definition: mg32f10x_fmc.c:105