FMC driver modules.
More...
|
#define | PRE_OP() ((void(*)(void))((unsigned int)(pre_op_code) | 0x01))() |
|
FMC driver modules.
◆ FMC_ClearPageLatch()
uint32_t FMC_ClearPageLatch |
( |
void |
| ) |
|
Clear page latches.
- Returns
- 0 - OK, 1 - Failed
- Note
- Before calling this function, FHSI must be enabled.
◆ FMC_EraseBulk()
uint32_t FMC_EraseBulk |
( |
void |
| ) |
|
Erase main flash memory.
- Returns
- 0 - OK, 1 - Failed
- Note
- Before calling this function, FHSI must be enabled.
◆ FMC_ErasePage()
uint32_t FMC_ErasePage |
( |
uint32_t |
Page_Address | ) |
|
Erase a specified FLASH page.
- Parameters
-
Page_Address | The page address to be erased. |
- Returns
- 0 - OK, 1 - Failed
- Note
- Before calling this function, FHSI must be enabled.
◆ FMC_EraseSector()
uint32_t FMC_EraseSector |
( |
uint32_t |
Sector_Address | ) |
|
Erase a specified FLASH sector.
- Parameters
-
Sector_Address | The sector address to be erased. |
- Returns
- 0 - OK, 1 - Failed
- Note
- 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.
- Parameters
-
Page_Address | The page address to be programmed. |
- Returns
- 0 - OK, 1 - Failed
- Note
- Before calling this function, FHSI must be enabled.