ï‚· 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.
11.2.8.11 FLASH_OB_WriteUser
FLASH_Status FLASH_OB_WriteUser ( uint8_t OB_USER)
Programs the FLASH User Option Byte: IWDG_SW / RST_STOP
/ RST_STDBY/ BOOT1 and OB_VDDA_ANALOG.
ï‚· 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
ï‚· FLASH Status: The returned value can be:
FLASH_ERROR_PROGRAM, FLASH_ERROR_WRP,
FLASH_COMPLETE or FLASH_TIMEOUT.
ï‚· 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
FLASH_Status FLASH_ProgramOptionByteData ( uint32_t
Address, uint8_t Data)