STM32F4xx_HAL_Driver  1.8.3
Programming operation functions

Programming operation functions. More...

+ Collaboration diagram for Programming operation functions:

Functions

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. More...
 
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. More...
 
void HAL_FLASH_IRQHandler (void)
 This function handles FLASH interrupt request. More...
 
void HAL_FLASH_EndOfOperationCallback (uint32_t ReturnValue)
 FLASH end of operation interrupt callback. More...
 
void HAL_FLASH_OperationErrorCallback (uint32_t ReturnValue)
 FLASH operation error interrupt callback. More...
 

Detailed Description

Programming operation functions.

 ===============================================================================
                  ##### Programming operation functions #####
 ===============================================================================
    [..]
    This subsection provides a set of functions allowing to manage the FLASH
    program operations.

Function Documentation

◆ HAL_FLASH_EndOfOperationCallback()

__weak void HAL_FLASH_EndOfOperationCallback ( uint32_t  ReturnValue)

FLASH end of operation interrupt callback.

Parameters
ReturnValueThe 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
None

Definition at line 376 of file stm32f4xx_hal_flash.c.

◆ HAL_FLASH_IRQHandler()

void HAL_FLASH_IRQHandler ( void  )

This function handles FLASH interrupt request.

Return values
None

Definition at line 256 of file stm32f4xx_hal_flash.c.

◆ HAL_FLASH_OperationErrorCallback()

__weak void HAL_FLASH_OperationErrorCallback ( uint32_t  ReturnValue)

FLASH operation error interrupt callback.

Parameters
ReturnValueThe 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
None

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
TypeProgramIndicate the way to program at a specified address. This parameter can be a value of FLASH Type Program
Addressspecifies the address to be programmed.
Dataspecifies the data to be programmed
Return values
HAL_StatusTypeDefHAL 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
TypeProgramIndicate the way to program at a specified address. This parameter can be a value of FLASH Type Program
Addressspecifies the address to be programmed.
Dataspecifies the data to be programmed
Return values
HALStatus

Definition at line 212 of file stm32f4xx_hal_flash.c.