FLASH_OB_UserConfig() function
Program the FLASH User Option Byte: IWDG_SW / RST_STOP / RST_STDBY.
Arguments
Iwdg
Selects the IWDG mode This parameter can be one of the following values: @arg OB_IWDG_SW: Software IWDG selected @arg OB_IWDG_HW: Hardware IWDG selected
Stop
Reset event when entering STOP mode. This parameter can be one of the following values: @arg OB_STOP_NO_RST: No reset generated when entering in STOP @arg OB_STOP_RST: Reset generated when entering in STOP
Stdby
Reset event when entering Standby mode. This parameter can be one of the following values: @arg OB_STDBY_NO_RST: No reset generated when entering in STANDBY @arg OB_STDBY_RST: Reset generated when entering in STANDBY
Return value
HAL Status