CARME-M4 BSP  V1.5
Option_Bytes_Write_Protection
+ Collaboration diagram for Option_Bytes_Write_Protection:

Macros

#define OB_WRP_Sector_0   ((uint32_t)0x00000001)
 
#define OB_WRP_Sector_1   ((uint32_t)0x00000002)
 
#define OB_WRP_Sector_2   ((uint32_t)0x00000004)
 
#define OB_WRP_Sector_3   ((uint32_t)0x00000008)
 
#define OB_WRP_Sector_4   ((uint32_t)0x00000010)
 
#define OB_WRP_Sector_5   ((uint32_t)0x00000020)
 
#define OB_WRP_Sector_6   ((uint32_t)0x00000040)
 
#define OB_WRP_Sector_7   ((uint32_t)0x00000080)
 
#define OB_WRP_Sector_8   ((uint32_t)0x00000100)
 
#define OB_WRP_Sector_9   ((uint32_t)0x00000200)
 
#define OB_WRP_Sector_10   ((uint32_t)0x00000400)
 
#define OB_WRP_Sector_11   ((uint32_t)0x00000800)
 
#define OB_WRP_Sector_12   ((uint32_t)0x00000001)
 
#define OB_WRP_Sector_13   ((uint32_t)0x00000002)
 
#define OB_WRP_Sector_14   ((uint32_t)0x00000004)
 
#define OB_WRP_Sector_15   ((uint32_t)0x00000008)
 
#define OB_WRP_Sector_16   ((uint32_t)0x00000010)
 
#define OB_WRP_Sector_17   ((uint32_t)0x00000020)
 
#define OB_WRP_Sector_18   ((uint32_t)0x00000040)
 
#define OB_WRP_Sector_19   ((uint32_t)0x00000080)
 
#define OB_WRP_Sector_20   ((uint32_t)0x00000100)
 
#define OB_WRP_Sector_21   ((uint32_t)0x00000200)
 
#define OB_WRP_Sector_22   ((uint32_t)0x00000400)
 
#define OB_WRP_Sector_23   ((uint32_t)0x00000800)
 
#define OB_WRP_Sector_All   ((uint32_t)0x00000FFF)
 
#define IS_OB_WRP(SECTOR)   ((((SECTOR) & (uint32_t)0xFFFFF000) == 0x00000000) && ((SECTOR) != 0x00000000))
 

Detailed Description

Macro Definition Documentation

#define OB_WRP_Sector_0   ((uint32_t)0x00000001)

Write protection of Sector0

Definition at line 190 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_1   ((uint32_t)0x00000002)

Write protection of Sector1

Definition at line 191 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_10   ((uint32_t)0x00000400)

Write protection of Sector10

Definition at line 200 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_11   ((uint32_t)0x00000800)

Write protection of Sector11

Definition at line 201 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_12   ((uint32_t)0x00000001)

Write protection of Sector12

Definition at line 202 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_13   ((uint32_t)0x00000002)

Write protection of Sector13

Definition at line 203 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_14   ((uint32_t)0x00000004)

Write protection of Sector14

Definition at line 204 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_15   ((uint32_t)0x00000008)

Write protection of Sector15

Definition at line 205 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_16   ((uint32_t)0x00000010)

Write protection of Sector16

Definition at line 206 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_17   ((uint32_t)0x00000020)

Write protection of Sector17

Definition at line 207 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_18   ((uint32_t)0x00000040)

Write protection of Sector18

Definition at line 208 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_19   ((uint32_t)0x00000080)

Write protection of Sector19

Definition at line 209 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_2   ((uint32_t)0x00000004)

Write protection of Sector2

Definition at line 192 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_20   ((uint32_t)0x00000100)

Write protection of Sector20

Definition at line 210 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_21   ((uint32_t)0x00000200)

Write protection of Sector21

Definition at line 211 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_22   ((uint32_t)0x00000400)

Write protection of Sector22

Definition at line 212 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_23   ((uint32_t)0x00000800)

Write protection of Sector23

Definition at line 213 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_3   ((uint32_t)0x00000008)

Write protection of Sector3

Definition at line 193 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_4   ((uint32_t)0x00000010)

Write protection of Sector4

Definition at line 194 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_5   ((uint32_t)0x00000020)

Write protection of Sector5

Definition at line 195 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_6   ((uint32_t)0x00000040)

Write protection of Sector6

Definition at line 196 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_7   ((uint32_t)0x00000080)

Write protection of Sector7

Definition at line 197 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_8   ((uint32_t)0x00000100)

Write protection of Sector8

Definition at line 198 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_9   ((uint32_t)0x00000200)

Write protection of Sector9

Definition at line 199 of file stm32f4xx_flash.h.

#define OB_WRP_Sector_All   ((uint32_t)0x00000FFF)

Write protection of all Sectors

Definition at line 214 of file stm32f4xx_flash.h.