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
Extended IO operation functions
[FLASH Extended Exported Functions]
Extended IO operation functions. More...
Functions | |
HAL_StatusTypeDef | HAL_FLASHEx_Erase (FLASH_EraseInitTypeDef *pEraseInit, uint32_t *PageError) |
Perform a mass erase or erase the specified FLASH memory pages. | |
HAL_StatusTypeDef | HAL_FLASHEx_Erase_IT (FLASH_EraseInitTypeDef *pEraseInit) |
Perform a mass erase or erase the specified FLASH memory pages with interrupt enabled. | |
HAL_StatusTypeDef | HAL_FLASHEx_OBProgram (FLASH_OBProgramInitTypeDef *pOBInit) |
Program Option bytes. | |
void | HAL_FLASHEx_OBGetConfig (FLASH_OBProgramInitTypeDef *pOBInit) |
Get the Option bytes configuration. |
Detailed Description
Extended IO operation functions.
=============================================================================== ##### Extended programming operation functions ##### =============================================================================== [..] This subsection provides a set of functions allowing to manage the Extended FLASH programming operations Operations.
Function Documentation
HAL_StatusTypeDef HAL_FLASHEx_Erase | ( | FLASH_EraseInitTypeDef * | pEraseInit, |
uint32_t * | PageError | ||
) |
Perform a mass erase or erase the specified FLASH memory pages.
- Parameters:
-
[in] pEraseInit,: pointer to an FLASH_EraseInitTypeDef structure that contains the configuration information for the erasing. [out] PageError : pointer to variable that contains the configuration information on faulty page in case of error (0xFFFFFFFF means that all the pages have been correctly erased)
- Return values:
-
HAL Status
Definition at line 156 of file stm32l4xx_hal_flash_ex.c.
HAL_StatusTypeDef HAL_FLASHEx_Erase_IT | ( | FLASH_EraseInitTypeDef * | pEraseInit ) |
Perform a mass erase or erase the specified FLASH memory pages with interrupt enabled.
- Parameters:
-
pEraseInit,: pointer to an FLASH_EraseInitTypeDef structure that contains the configuration information for the erasing.
- Return values:
-
HAL Status
Definition at line 231 of file stm32l4xx_hal_flash_ex.c.
void HAL_FLASHEx_OBGetConfig | ( | FLASH_OBProgramInitTypeDef * | pOBInit ) |
Get the Option bytes configuration.
- Parameters:
-
pOBInit,: pointer to an FLASH_OBInitStruct structure that contains the configuration information. The fields pOBInit->WRPArea and pOBInit->PCROPConfig should indicate which area is requested for the WRP and PCROP
- Return values:
-
None
Definition at line 330 of file stm32l4xx_hal_flash_ex.c.
HAL_StatusTypeDef HAL_FLASHEx_OBProgram | ( | FLASH_OBProgramInitTypeDef * | pOBInit ) |
Program Option bytes.
- Parameters:
-
pOBInit,: pointer to an FLASH_OBInitStruct structure that contains the configuration information for the programming.
- Return values:
-
HAL Status
Definition at line 275 of file stm32l4xx_hal_flash_ex.c.
Generated on Tue Jul 12 2022 17:38:53 by
