STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Peripheral Errors functions. More...
Functions | |
uint32_t | HAL_FLASH_GetError (void) |
Get the specific FLASH error flag. | |
HAL_StatusTypeDef | FLASH_WaitForLastOperation (uint32_t Timeout) |
Wait for a FLASH operation to complete. | |
Peripheral Errors functions.
=============================================================================== ##### Peripheral Errors functions ##### =============================================================================== [..] This subsection permits to get in run-time Errors of the FLASH peripheral.
uint32_t HAL_FLASH_GetError | ( | void | ) |
#include <stm32f4xx_hal_flash.h>
Get the specific FLASH error flag.
FLASH_ErrorCode | The returned value can be a combination of:
|
Definition at line 530 of file stm32f4xx_hal_flash.c.
References FLASH_ProcessTypeDef::ErrorCode, and pFlash.
HAL_StatusTypeDef FLASH_WaitForLastOperation | ( | uint32_t | Timeout | ) |
#include <stm32f4xx_hal_flash.h>
Wait for a FLASH operation to complete.
Timeout | maximum flash operationtimeout |
HAL | Status |
Definition at line 544 of file stm32f4xx_hal_flash.c.
References __HAL_FLASH_CLEAR_FLAG, __HAL_FLASH_GET_FLAG, FLASH_ProcessTypeDef::ErrorCode, FLASH_FLAG_BSY, FLASH_FLAG_EOP, FLASH_FLAG_OPERR, FLASH_FLAG_PGAERR, FLASH_FLAG_PGPERR, FLASH_FLAG_PGSERR, FLASH_FLAG_WRPERR, FLASH_SetErrorCode(), HAL_ERROR, HAL_FLASH_ERROR_NONE, HAL_GetTick(), HAL_MAX_DELAY, HAL_OK, HAL_TIMEOUT, and pFlash.