Programming operation functions.
More...
Programming operation functions.
===============================================================================
##### Programming operation functions #####
===============================================================================
[..]
This subsection provides a set of functions allowing to manage the FLASH
program operations.
◆ HAL_FLASH_EndOfOperationCallback()
__weak void HAL_FLASH_EndOfOperationCallback |
( |
uint32_t |
ReturnValue | ) |
|
FLASH end of operation interrupt callback.
- Parameters
-
ReturnValue | The value saved in this parameter depends on the ongoing procedure Mass Erase: Bank number which has been requested to erase Sectors Erase: Sector which has been erased (if 0xFFFFFFFFU, it means that all the selected sectors have been erased) Program: Address which was selected for data program |
- Return values
-
Definition at line 376 of file stm32f4xx_hal_flash.c.
◆ HAL_FLASH_IRQHandler()
void HAL_FLASH_IRQHandler |
( |
void |
| ) |
|
◆ HAL_FLASH_OperationErrorCallback()
__weak void HAL_FLASH_OperationErrorCallback |
( |
uint32_t |
ReturnValue | ) |
|
FLASH operation error interrupt callback.
- Parameters
-
ReturnValue | The value saved in this parameter depends on the ongoing procedure Mass Erase: Bank number which has been requested to erase Sectors Erase: Sector number which returned an error Program: Address which was selected for data program |
- Return values
-
Definition at line 393 of file stm32f4xx_hal_flash.c.
◆ HAL_FLASH_Program()
HAL_StatusTypeDef HAL_FLASH_Program |
( |
uint32_t |
TypeProgram, |
|
|
uint32_t |
Address, |
|
|
uint64_t |
Data |
|
) |
| |
Program byte, halfword, word or double word at a specified address.
- Parameters
-
TypeProgram | Indicate the way to program at a specified address. This parameter can be a value of FLASH Type Program |
Address | specifies the address to be programmed. |
Data | specifies the data to be programmed |
- Return values
-
HAL_StatusTypeDef | HAL Status |
Definition at line 154 of file stm32f4xx_hal_flash.c.
◆ HAL_FLASH_Program_IT()
HAL_StatusTypeDef HAL_FLASH_Program_IT |
( |
uint32_t |
TypeProgram, |
|
|
uint32_t |
Address, |
|
|
uint64_t |
Data |
|
) |
| |
Program byte, halfword, word or double word at a specified address with interrupt enabled.
- Parameters
-
TypeProgram | Indicate the way to program at a specified address. This parameter can be a value of FLASH Type Program |
Address | specifies the address to be programmed. |
Data | specifies the data to be programmed |
- Return values
-
Definition at line 212 of file stm32f4xx_hal_flash.c.