stm32 /stm32h5 /STM32H503 /FLASH /FLASH_OPTSR_CUR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as FLASH_OPTSR_CUR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)BOR_LEV 0 (B_0x0)BORH_EN 0 (B_0x0)IWDG_SW 0 (B_0x0)WWDG_SW 0 (B_0x0)NRST_SHDW 0 (B_0x0)NRST_STOP 0 (B_0x0)NRST_STDBY 0PRODUCT_STATE0 (B_0x0)IO_VDD_HSLV 0 (B_0x0)IO_VDDIO2_HSLV 0 (B_0x0)IWDG_STOP 0 (B_0x0)IWDG_STDBY 0 (B_0x0)SWAP_BANK

IWDG_STDBY=B_0x0, NRST_STOP=B_0x0, NRST_SHDW=B_0x0, WWDG_SW=B_0x0, IO_VDD_HSLV=B_0x0, IWDG_SW=B_0x0, BORH_EN=B_0x0, SWAP_BANK=B_0x0, NRST_STDBY=B_0x0, IWDG_STOP=B_0x0, BOR_LEV=B_0x0, IO_VDDIO2_HSLV=B_0x0

Description

FLASH option status register

Fields

BOR_LEV

Brownout level option status bit These bits reflects the power level that generates a system reset.

0 (B_0x0): BOR OFF, POR/PDR reset threshold level is applied

1 (B_0x1): BOR Level 1, the threshold level is low (around 2.1 V)

2 (B_0x2): BOR Level 2, the threshold level is medium (around 2.4 V)

3 (B_0x3): BOR Level 3, the threshold level is high (around 2.7 V)

BORH_EN

Brownout high enable status bit

0 (B_0x0): disabled

1 (B_0x1): enabled

IWDG_SW

IWDG control mode option status bit

0 (B_0x0): IWDG watchdog is controlled by hardware

1 (B_0x1): IWDG watchdog is controlled by software

WWDG_SW

WWDG control mode option status bit

0 (B_0x0): WWDG watchdog is controlled by hardware

1 (B_0x1): WWDG watchdog is controlled by software

NRST_SHDW

Core domain Shutdown entry reset option status bit

0 (B_0x0): a reset is generated when entering Shutdown mode on core domain

1 (B_0x1): no reset generated when entering Shutdown mode on core domain.

NRST_STOP

Core domain Stop entry reset option status bit

0 (B_0x0): a reset is generated when entering Stop mode on core domain

1 (B_0x1): no reset generated when entering Stop mode on core domain.

NRST_STDBY

Core domain Standby entry reset option status bit

0 (B_0x0): a reset is generated when entering Standby mode on core domain

1 (B_0x1): no reset generated when entering Standby mode on core domain.

PRODUCT_STATE

Life state code (based on Hamming 8,4). More information in .

IO_VDD_HSLV

High-speed IO at low VDD voltage status bit. This bit can be set only with VDD below 2.5 V.

0 (B_0x0): High-speed IO at low VDD voltage feature disabled (VDD can exceed 2.5 V)

1 (B_0x1): High-speed IO at low VDD voltage feature enabled (VDD remains below 2.5 V)

IO_VDDIO2_HSLV

High-speed IO at low VDDIO2 voltage status bit. This bit can be set only with VDDIO2 below 2.5 V.

0 (B_0x0): High-speed IO at low VDDIO2 voltage feature disabled (VDDIO2 can exceed 2.5 V)

1 (B_0x1): High-speed IO at low VDDIO2 voltage feature enabled (VDDIO2 remains below 2.5 V)

IWDG_STOP

IWDG Stop mode freeze option status bit When set the independent watchdog IWDG is in system Stop mode.

0 (B_0x0): Independent watchdog frozen in system Stop mode

1 (B_0x1): Independent watchdog keep running in system Stop mode.

IWDG_STDBY

IWDG Standby mode freeze option status bit When set the independent watchdog IWDG is frozen in system Standby mode.

0 (B_0x0): Independent watchdog frozen in Standby mode

1 (B_0x1): Independent watchdog keep running in Standby mode.

SWAP_BANK

Bank swapping option status bit SWAP_BANK reflects whether Bank1 and Bank2 are swapped or not. SWAP_BANK is loaded to SWAP_BANK of FLASH_OPTCR after a reset.

0 (B_0x0): Bank1 and Bank2 not swapped

1 (B_0x1): Bank1 and Bank2 swapped

Links

()