HAL_FLASH_Program() function
Program byte, halfword, word or double word at a specified address
Arguments
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 value
HAL_StatusTypeDef HAL Status
HAL_FLASH_Program() calls 5 functions:
![]()
HAL_FLASH_Program()
HAL_FLASH_Program() reads 7 variables and writes 2 variables:
![]()
HAL_FLASH_Program()