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

Macros

#define OB_PCROP_Sector_0   ((uint32_t)0x00000001)
 
#define OB_PCROP_Sector_1   ((uint32_t)0x00000002)
 
#define OB_PCROP_Sector_2   ((uint32_t)0x00000004)
 
#define OB_PCROP_Sector_3   ((uint32_t)0x00000008)
 
#define OB_PCROP_Sector_4   ((uint32_t)0x00000010)
 
#define OB_PCROP_Sector_5   ((uint32_t)0x00000020)
 
#define OB_PCROP_Sector_6   ((uint32_t)0x00000040)
 
#define OB_PCROP_Sector_7   ((uint32_t)0x00000080)
 
#define OB_PCROP_Sector_8   ((uint32_t)0x00000100)
 
#define OB_PCROP_Sector_9   ((uint32_t)0x00000200)
 
#define OB_PCROP_Sector_10   ((uint32_t)0x00000400)
 
#define OB_PCROP_Sector_11   ((uint32_t)0x00000800)
 
#define OB_PCROP_Sector_12   ((uint32_t)0x00000001)
 
#define OB_PCROP_Sector_13   ((uint32_t)0x00000002)
 
#define OB_PCROP_Sector_14   ((uint32_t)0x00000004)
 
#define OB_PCROP_Sector_15   ((uint32_t)0x00000008)
 
#define OB_PCROP_Sector_16   ((uint32_t)0x00000010)
 
#define OB_PCROP_Sector_17   ((uint32_t)0x00000020)
 
#define OB_PCROP_Sector_18   ((uint32_t)0x00000040)
 
#define OB_PCROP_Sector_19   ((uint32_t)0x00000080)
 
#define OB_PCROP_Sector_20   ((uint32_t)0x00000100)
 
#define OB_PCROP_Sector_21   ((uint32_t)0x00000200)
 
#define OB_PCROP_Sector_22   ((uint32_t)0x00000400)
 
#define OB_PCROP_Sector_23   ((uint32_t)0x00000800)
 
#define OB_PCROP_Sector_All   ((uint32_t)0x00000FFF)
 
#define IS_OB_PCROP(SECTOR)   ((((SECTOR) & (uint32_t)0xFFFFF000) == 0x00000000) && ((SECTOR) != 0x00000000))
 

Detailed Description

Macro Definition Documentation

#define OB_PCROP_Sector_0   ((uint32_t)0x00000001)

PC Read/Write protection of Sector0

Definition at line 234 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_1   ((uint32_t)0x00000002)

PC Read/Write protection of Sector1

Definition at line 235 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_10   ((uint32_t)0x00000400)

PC Read/Write protection of Sector10

Definition at line 244 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_11   ((uint32_t)0x00000800)

PC Read/Write protection of Sector11

Definition at line 245 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_12   ((uint32_t)0x00000001)

PC Read/Write protection of Sector12

Definition at line 246 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_13   ((uint32_t)0x00000002)

PC Read/Write protection of Sector13

Definition at line 247 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_14   ((uint32_t)0x00000004)

PC Read/Write protection of Sector14

Definition at line 248 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_15   ((uint32_t)0x00000008)

PC Read/Write protection of Sector15

Definition at line 249 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_16   ((uint32_t)0x00000010)

PC Read/Write protection of Sector16

Definition at line 250 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_17   ((uint32_t)0x00000020)

PC Read/Write protection of Sector17

Definition at line 251 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_18   ((uint32_t)0x00000040)

PC Read/Write protection of Sector18

Definition at line 252 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_19   ((uint32_t)0x00000080)

PC Read/Write protection of Sector19

Definition at line 253 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_2   ((uint32_t)0x00000004)

PC Read/Write protection of Sector2

Definition at line 236 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_20   ((uint32_t)0x00000100)

PC Read/Write protection of Sector20

Definition at line 254 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_21   ((uint32_t)0x00000200)

PC Read/Write protection of Sector21

Definition at line 255 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_22   ((uint32_t)0x00000400)

PC Read/Write protection of Sector22

Definition at line 256 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_23   ((uint32_t)0x00000800)

PC Read/Write protection of Sector23

Definition at line 257 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_3   ((uint32_t)0x00000008)

PC Read/Write protection of Sector3

Definition at line 237 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_4   ((uint32_t)0x00000010)

PC Read/Write protection of Sector4

Definition at line 238 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_5   ((uint32_t)0x00000020)

PC Read/Write protection of Sector5

Definition at line 239 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_6   ((uint32_t)0x00000040)

PC Read/Write protection of Sector6

Definition at line 240 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_7   ((uint32_t)0x00000080)

PC Read/Write protection of Sector7

Definition at line 241 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_8   ((uint32_t)0x00000100)

PC Read/Write protection of Sector8

Definition at line 242 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_9   ((uint32_t)0x00000200)

PC Read/Write protection of Sector9

Definition at line 243 of file stm32f4xx_flash.h.

#define OB_PCROP_Sector_All   ((uint32_t)0x00000FFF)

PC Read/Write protection of all Sectors

Definition at line 258 of file stm32f4xx_flash.h.