EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 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 #232 background imageLoading...
Page #232 background image
FLASH Memory (FLASH)
UM1581
232/584
DocID023800 Rev 1
11.2.9.5 FLASH_WaitForLastOperation
Function Name
FLASH_Status FLASH_WaitForLastOperation ( uint32_t
Timeout)
Function Description
Waits for a FLASH operation to complete or a TIMEOUT to occur.
Parameters
ï‚· Timeout : FLASH programming Timeout
Return values
ï‚· FLASH Status: The returned value can be:
FLASH_BUSY, FLASH_ERROR_PROGRAM,
FLASH_ERROR_WRP, FLASH_COMPLETE or
FLASH_TIMEOUT.
Notes
ï‚· None.
11.3 FLASH Firmware driver defines
11.3.1 FLASH
FLASH
FLASH_Flags
ï‚· #define: FLASH_FLAG_BSY FLASH_SR_BSY
FLASH Busy flag
ï‚· #define: FLASH_FLAG_PGERR FLASH_SR_PGERR
FLASH Programming error flag
ï‚· #define: FLASH_FLAG_WRPERR FLASH_SR_WRPERR
FLASH Write protected error flag
ï‚· #define: FLASH_FLAG_EOP FLASH_SR_EOP
FLASH End of Programming flag
FLASH_Interrupts
ï‚· #define: FLASH_IT_EOP FLASH_CR_EOPIE
End of programming interrupt source
ï‚· #define: FLASH_IT_ERR FLASH_CR_ERRIE
Error interrupt source

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals