STM32F37 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F37 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
FLASH_Option_Bytes_Write_Protection

Macros

#define OB_WRP_Pages0to1   ((uint32_t)0x00000001) /* Write protection of page 0 to 1 */
 
#define OB_WRP_Pages2to3   ((uint32_t)0x00000002) /* Write protection of page 2 to 3 */
 
#define OB_WRP_Pages4to5   ((uint32_t)0x00000004) /* Write protection of page 4 to 5 */
 
#define OB_WRP_Pages6to7   ((uint32_t)0x00000008) /* Write protection of page 6 to 7 */
 
#define OB_WRP_Pages8to9   ((uint32_t)0x00000010) /* Write protection of page 8 to 9 */
 
#define OB_WRP_Pages10to11   ((uint32_t)0x00000020) /* Write protection of page 10 to 11 */
 
#define OB_WRP_Pages12to13   ((uint32_t)0x00000040) /* Write protection of page 12 to 13 */
 
#define OB_WRP_Pages14to15   ((uint32_t)0x00000080) /* Write protection of page 14 to 15 */
 
#define OB_WRP_Pages16to17   ((uint32_t)0x00000100) /* Write protection of page 16 to 17 */
 
#define OB_WRP_Pages18to19   ((uint32_t)0x00000200) /* Write protection of page 18 to 19 */
 
#define OB_WRP_Pages20to21   ((uint32_t)0x00000400) /* Write protection of page 20 to 21 */
 
#define OB_WRP_Pages22to23   ((uint32_t)0x00000800) /* Write protection of page 22 to 23 */
 
#define OB_WRP_Pages24to25   ((uint32_t)0x00001000) /* Write protection of page 24 to 25 */
 
#define OB_WRP_Pages26to27   ((uint32_t)0x00002000) /* Write protection of page 26 to 27 */
 
#define OB_WRP_Pages28to29   ((uint32_t)0x00004000) /* Write protection of page 28 to 29 */
 
#define OB_WRP_Pages30to31   ((uint32_t)0x00008000) /* Write protection of page 30 to 31 */
 
#define OB_WRP_Pages32to33   ((uint32_t)0x00010000) /* Write protection of page 32 to 33 */
 
#define OB_WRP_Pages34to35   ((uint32_t)0x00020000) /* Write protection of page 34 to 35 */
 
#define OB_WRP_Pages36to37   ((uint32_t)0x00040000) /* Write protection of page 36 to 37 */
 
#define OB_WRP_Pages38to39   ((uint32_t)0x00080000) /* Write protection of page 38 to 39 */
 
#define OB_WRP_Pages40to41   ((uint32_t)0x00100000) /* Write protection of page 40 to 41 */
 
#define OB_WRP_Pages42to43   ((uint32_t)0x00200000) /* Write protection of page 42 to 43 */
 
#define OB_WRP_Pages44to45   ((uint32_t)0x00400000) /* Write protection of page 44 to 45 */
 
#define OB_WRP_Pages46to47   ((uint32_t)0x00800000) /* Write protection of page 46 to 47 */
 
#define OB_WRP_Pages48to49   ((uint32_t)0x01000000) /* Write protection of page 48 to 49 */
 
#define OB_WRP_Pages50to51   ((uint32_t)0x02000000) /* Write protection of page 50 to 51 */
 
#define OB_WRP_Pages52to53   ((uint32_t)0x04000000) /* Write protection of page 52 to 53 */
 
#define OB_WRP_Pages54to55   ((uint32_t)0x08000000) /* Write protection of page 54 to 55 */
 
#define OB_WRP_Pages56to57   ((uint32_t)0x10000000) /* Write protection of page 56 to 57 */
 
#define OB_WRP_Pages58to59   ((uint32_t)0x20000000) /* Write protection of page 58 to 59 */
 
#define OB_WRP_Pages60to61   ((uint32_t)0x40000000) /* Write protection of page 60 to 61 */
 
#define OB_WRP_Pages62to127   ((uint32_t)0x80000000) /* Write protection of page 62 to 127 */
 
#define OB_WRP_AllPages   ((uint32_t)0xFFFFFFFF)
 
#define IS_OB_WRP(PAGE)   (((PAGE) != 0x0000000))
 

Detailed Description

Macro Definition Documentation

#define OB_WRP_AllPages   ((uint32_t)0xFFFFFFFF)

Write protection of all Sectors