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 #225 background imageLoading...
Page #225 background image
UM1581
FLASH Memory (FLASH)
DocID023800 Rev 1
225/584
11.2.8.4 FLASH_OB_Erase
Function Name
FLASH_Status FLASH_OB_Erase ( void )
Function Description
Erases the FLASH option bytes.
Parameters
ï‚· None.
Return values
ï‚· FLASH Status: The returned value can be:
FLASH_ERROR_PG, FLASH_ERROR_WRP,
FLASH_COMPLETE or FLASH_TIMEOUT.
Notes
ï‚· This functions erases all option bytes except the Read
protection (RDP).
11.2.8.5 FLASH_OB_EnableWRP
Function Name
FLASH_Status FLASH_OB_EnableWRP ( uint32_t OB_WRP)
Function Description
Write protects the desired pages.
Parameters
ï‚· OB_WRP : specifies the address of the pages to be write
protected. This parameter can be:
 value :
 OB_WRP_AllPages :
Return values
ï‚· FLASH Status: The returned value can be:
FLASH_ERROR_PROGRAM, 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.6 FLASH_OB_RDPConfig
Function Name
FLASH_Status FLASH_OB_RDPConfig ( uint8_t OB_RDP)

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