Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Programming operation functions
[FLASH Exported Functions]
Programming operation functions. More...
Functions | |
HAL_StatusTypeDef | HAL_FLASH_Program (uint32_t TypeProgram, uint32_t Address, uint64_t Data) |
Program double word or fast program of a row at a specified address. | |
HAL_StatusTypeDef | HAL_FLASH_Program_IT (uint32_t TypeProgram, uint32_t Address, uint64_t Data) |
Program double word or fast program of a row at a specified address with interrupt enabled. | |
void | HAL_FLASH_IRQHandler (void) |
Handle FLASH interrupt request. | |
__weak void | HAL_FLASH_EndOfOperationCallback (uint32_t ReturnValue) |
FLASH end of operation interrupt callback. | |
__weak void | HAL_FLASH_OperationErrorCallback (uint32_t ReturnValue) |
FLASH operation error interrupt callback. |
Detailed Description
Programming operation functions.
=============================================================================== ##### Programming operation functions ##### =============================================================================== [..] This subsection provides a set of functions allowing to manage the FLASH program operations.
Function Documentation
__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 Page Erase: Page which has been erased (if 0xFFFFFFFF, it means that all the selected pages have been erased) Program: Address which was selected for data program
- Return values:
-
None
Definition at line 419 of file stm32l4xx_hal_flash.c.
void HAL_FLASH_IRQHandler | ( | void | ) |
Handle FLASH interrupt request.
- Return values:
-
None
Definition at line 288 of file stm32l4xx_hal_flash.c.
__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 Page Erase: Page number which returned an error Program: Address which was selected for data program
- Return values:
-
None
Definition at line 437 of file stm32l4xx_hal_flash.c.
HAL_StatusTypeDef HAL_FLASH_Program | ( | uint32_t | TypeProgram, |
uint32_t | Address, | ||
uint64_t | Data | ||
) |
Program double word or fast program of a row 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 This parameter is the data for the double word program and the address where are stored the data for the row fast program
- Return values:
-
HAL_StatusTypeDef HAL Status
Definition at line 181 of file stm32l4xx_hal_flash.c.
HAL_StatusTypeDef HAL_FLASH_Program_IT | ( | uint32_t | TypeProgram, |
uint32_t | Address, | ||
uint64_t | Data | ||
) |
Program double word or fast program of a row 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 This parameter is the data for the double word program and the address where are stored the data for the row fast program
- Return values:
-
HAL Status
Definition at line 244 of file stm32l4xx_hal_flash.c.
Generated on Tue Jul 12 2022 17:38:53 by
