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 #228 background imageLoading...
Page #228 background image
FLASH Memory (FLASH)
UM1581
228/584
DocID023800 Rev 1
Parameters
ï‚· OB_SRAM_Parity : Set or Reset the SRAM partiy enable
bit. This parameter can be one of the following values:
 OB_SRAM_PARITY_SET : Set SRAM partiy.
 OB_SRAM_PARITY_RESET : Reset SRAM partiy.
Return values
ï‚· None.
Notes
ï‚· None.
11.2.8.11 FLASH_OB_WriteUser
Function Name
FLASH_Status FLASH_OB_WriteUser ( uint8_t OB_USER)
Function Description
Programs the FLASH User Option Byte: IWDG_SW / RST_STOP
/ RST_STDBY/ BOOT1 and OB_VDDA_ANALOG.
Parameters
ï‚· OB_USER : Selects all user option bytes This parameter is a
combination of the following values:
 OB_IWDG_SW / OB_IWDG_HW : Software / Hardware
WDG selected
 OB_STOP_NoRST / OB_STOP_RST : No reset / Reset
generated when entering in STOP
 OB_STDBY_NoRST / OB_STDBY_RST : No reset /
Reset generated when entering in STANDBY
 OB_BOOT1_RESET / OB_BOOT1_SET : BOOT1
Reset / Set
 OB_VDDA_ANALOG_ON / OB_VDDA_ANALOG_OFF
: Analog monitoring on VDDA Power source ON / OFF
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.12 FLASH_ProgramOptionByteData
Function Name
FLASH_Status FLASH_ProgramOptionByteData ( uint32_t
Address, uint8_t Data)

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