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 #229 background imageLoading...
Page #229 background image
UM1581
FLASH Memory (FLASH)
DocID023800 Rev 1
229/584
Function Description
Programs a half word at a specified Option Byte Data address.
Parameters
ï‚· Address : specifies the address to be programmed. This
parameter can be 0x1FFFF804 or 0x1FFFF806.
ï‚· Data : specifies the data to be programmed.
Return values
ï‚· FLASH Status: The returned value can be:
FLASH_ERROR_PG, FLASH_ERROR_WRP,
FLASH_COMPLETE or FLASH_TIMEOUT.
Notes
ï‚· To correctly run this function, the FLASH_OB_Unlock()
function must be called before. Call the FLASH_OB_Lock() to
disable the flash control register access and the option bytes
(recommended to protect the FLASH memory against
possible unwanted operation)
11.2.8.13 FLASH_OB_GetUser
Function Name
uint8_t FLASH_OB_GetUser ( void )
Function Description
Returns the FLASH User Option Bytes values.
Parameters
ï‚· None.
Return values
ï‚· The FLASH User Option Bytes .
Notes
ï‚· None.
11.2.8.14 FLASH_OB_GetWRP
Function Name
uint32_t FLASH_OB_GetWRP ( void )
Function Description
Returns the FLASH Write Protection Option Bytes value.
Parameters
ï‚· None.
Return values
ï‚· The FLASH Write Protection Option Bytes value
Notes
ï‚· None.

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