EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #247 background imageLoading...
Page #247 background image
UM1940
HAL FLASH Generic Driver
DocID028236 Rev 2
247/1371
Return values
FLASH_ErrorCode: The returned value can be a
combination of:
HAL_FLASH_ERROR_NONE: FLASH Programming
Sequence error flag
HAL_FLASH_ERROR_PGS: FLASH Programming
Sequence error flag
HAL_FLASH_ERROR_PGP: FLASH Programming
Parallelism error flag
HAL_FLASH_ERROR_PGA: FLASH Programming
Alignment error flag
HAL_FLASH_ERROR_WRP: FLASH Write protected
error flag
HAL_FLASH_ERROR_OPERATION: FLASH operation
Error flag
FLASH_WaitForLastOperation
Function name
HAL_StatusTypeDef FLASH_WaitForLastOperation (uint32_t
Timeout)
Function description
Wait for a FLASH operation to complete.
Parameters
Timeout: maximum flash operationtimeout
Return values
HAL: Status
18.3 FLASH Firmware driver defines
18.3.1 FLASH
FLASH Error Code
HAL_FLASH_ERROR_NONE
No error
HAL_FLASH_ERROR_PGS
Programming Sequence error
HAL_FLASH_ERROR_PGP
Programming Parallelism error
HAL_FLASH_ERROR_PGA
Programming Alignment error
HAL_FLASH_ERROR_WRP
Write protection error
HAL_FLASH_ERROR_OPERATION
Operation Error
FLASH Exported Macros
__HAL_FLASH_SET_LATENCY
Description:
Set the FLASH Latency.
Parameters:
__LATENCY__: FLASH Latency
The value of this parameter
depend on device used within the
same series
Return value:
none
__HAL_FLASH_GET_LATENCY
Description:

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals