MG32F10x Standard Peripherals Firmware Library
函数
FMC_Private_Functions

函数

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

详细描述

函数说明

◆ FMC_ClearPageLatch()

uint32_t FMC_ClearPageLatch ( void  )

Clear page latches.

返回
0 - OK, 1 - Failed
注解
Before calling this function, FHSI must be enabled.

◆ FMC_EraseBulk()

uint32_t FMC_EraseBulk ( void  )

Erase main flash memory.

返回
0 - OK, 1 - Failed
注解
Before calling this function, FHSI must be enabled.

◆ FMC_ErasePage()

uint32_t FMC_ErasePage ( uint32_t  Page_Address)

Erase a specified FLASH page.

参数
Page_AddressThe page address to be erased.
返回
0 - OK, 1 - Failed
注解
Before calling this function, FHSI must be enabled.

◆ FMC_EraseSector()

uint32_t FMC_EraseSector ( uint32_t  Sector_Address)

Erase a specified FLASH sector.

参数
Sector_AddressThe sector address to be erased.
返回
0 - OK, 1 - Failed
注解
Before calling this function, FHSI must be enabled.

◆ FMC_ProgramPage()

uint32_t FMC_ProgramPage ( uint32_t  Page_Address)

Programs the data to the specified page address.

参数
Page_AddressThe page address to be programmed.
返回
0 - OK, 1 - Failed
注解
Before calling this function, FHSI must be enabled.