STM32F439xx HAL User Manual
Defines
FLASH Option Bytes Write Protection
FLASH Exported Constants

Defines

#define OB_WRP_SECTOR_0   0x00000001U
#define OB_WRP_SECTOR_1   0x00000002U
#define OB_WRP_SECTOR_2   0x00000004U
#define OB_WRP_SECTOR_3   0x00000008U
#define OB_WRP_SECTOR_4   0x00000010U
#define OB_WRP_SECTOR_5   0x00000020U
#define OB_WRP_SECTOR_6   0x00000040U
#define OB_WRP_SECTOR_7   0x00000080U
#define OB_WRP_SECTOR_8   0x00000100U
#define OB_WRP_SECTOR_9   0x00000200U
#define OB_WRP_SECTOR_10   0x00000400U
#define OB_WRP_SECTOR_11   0x00000800U
#define OB_WRP_SECTOR_12   0x00000001U << 12U
#define OB_WRP_SECTOR_13   0x00000002U << 12U
#define OB_WRP_SECTOR_14   0x00000004U << 12U
#define OB_WRP_SECTOR_15   0x00000008U << 12U
#define OB_WRP_SECTOR_16   0x00000010U << 12U
#define OB_WRP_SECTOR_17   0x00000020U << 12U
#define OB_WRP_SECTOR_18   0x00000040U << 12U
#define OB_WRP_SECTOR_19   0x00000080U << 12U
#define OB_WRP_SECTOR_20   0x00000100U << 12U
#define OB_WRP_SECTOR_21   0x00000200U << 12U
#define OB_WRP_SECTOR_22   0x00000400U << 12U
#define OB_WRP_SECTOR_23   0x00000800U << 12U
#define OB_WRP_SECTOR_All   0x00000FFFU << 12U

Define Documentation

#define OB_WRP_SECTOR_0   0x00000001U

Write protection of Sector0

Definition at line 492 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_1   0x00000002U

Write protection of Sector1

Definition at line 493 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_10   0x00000400U

Write protection of Sector10

Definition at line 502 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_11   0x00000800U

Write protection of Sector11

Definition at line 503 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_12   0x00000001U << 12U

Write protection of Sector12

Definition at line 504 of file stm32f4xx_hal_flash_ex.h.

Referenced by FLASH_OB_DisableWRP(), and FLASH_OB_EnableWRP().

#define OB_WRP_SECTOR_13   0x00000002U << 12U

Write protection of Sector13

Definition at line 505 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_14   0x00000004U << 12U

Write protection of Sector14

Definition at line 506 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_15   0x00000008U << 12U

Write protection of Sector15

Definition at line 507 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_16   0x00000010U << 12U

Write protection of Sector16

Definition at line 508 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_17   0x00000020U << 12U

Write protection of Sector17

Definition at line 509 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_18   0x00000040U << 12U

Write protection of Sector18

Definition at line 510 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_19   0x00000080U << 12U

Write protection of Sector19

Definition at line 511 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_2   0x00000004U

Write protection of Sector2

Definition at line 494 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_20   0x00000100U << 12U

Write protection of Sector20

Definition at line 512 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_21   0x00000200U << 12U

Write protection of Sector21

Definition at line 513 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_22   0x00000400U << 12U

Write protection of Sector22

Definition at line 514 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_23   0x00000800U << 12U

Write protection of Sector23

Definition at line 515 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_3   0x00000008U

Write protection of Sector3

Definition at line 495 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_4   0x00000010U

Write protection of Sector4

Definition at line 496 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_5   0x00000020U

Write protection of Sector5

Definition at line 497 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_6   0x00000040U

Write protection of Sector6

Definition at line 498 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_7   0x00000080U

Write protection of Sector7

Definition at line 499 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_8   0x00000100U

Write protection of Sector8

Definition at line 500 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_9   0x00000200U

Write protection of Sector9

Definition at line 501 of file stm32f4xx_hal_flash_ex.h.

#define OB_WRP_SECTOR_All   0x00000FFFU << 12U

Write protection of all Sectors

Definition at line 516 of file stm32f4xx_hal_flash_ex.h.

Referenced by FLASH_OB_DisableWRP(), and FLASH_OB_EnableWRP().