18.2.6 Detailed description of functions
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.
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
HAL_StatusTypeDef: HAL Status
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.
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
HAL_FLASH_IRQHandler
void HAL_FLASH_IRQHandler (void )
This function handles FLASH interrupt request.
HAL_FLASH_EndOfOperationCallback
void HAL_FLASH_EndOfOperationCallback (uint32_t
ReturnValue)
FLASH end of operation interrupt callback.
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 0xFFFFFFFF, it means that all the selected
sectors have been erased) Program: Address which was
selected for data program