Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

Extended IO operation functions

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:
HALStatus

Definition at line 157 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:
HALStatus

Definition at line 227 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 326 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:
HALStatus

Definition at line 271 of file stm32l4xx_hal_flash_ex.c.