STM32F0 Standard Peripheral bibliotheek  1.0
ST Microelectronics standard peripheral bibliotheek documentatie voor de STM32F0 familie
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
FLASH_Option_Bytes_Write_Protection

Macros

#define OB_WRP_Pages0to3   ((uint32_t)0x00000001) /* Write protection of page 0 to 3 */
 
#define OB_WRP_Pages4to7   ((uint32_t)0x00000002) /* Write protection of page 4 to 7 */
 
#define OB_WRP_Pages8to11   ((uint32_t)0x00000004) /* Write protection of page 8 to 11 */
 
#define OB_WRP_Pages12to15   ((uint32_t)0x00000008) /* Write protection of page 12 to 15 */
 
#define OB_WRP_Pages16to19   ((uint32_t)0x00000010) /* Write protection of page 16 to 19 */
 
#define OB_WRP_Pages20to23   ((uint32_t)0x00000020) /* Write protection of page 20 to 23 */
 
#define OB_WRP_Pages24to27   ((uint32_t)0x00000040) /* Write protection of page 24 to 27 */
 
#define OB_WRP_Pages28to31   ((uint32_t)0x00000080) /* Write protection of page 28 to 31 */
 
#define OB_WRP_Pages32to35   ((uint32_t)0x00000100) /* Write protection of page 32 to 35 */
 
#define OB_WRP_Pages36to39   ((uint32_t)0x00000200) /* Write protection of page 36 to 39 */
 
#define OB_WRP_Pages40to43   ((uint32_t)0x00000400) /* Write protection of page 40 to 43 */
 
#define OB_WRP_Pages44to47   ((uint32_t)0x00000800) /* Write protection of page 44 to 47 */
 
#define OB_WRP_Pages48to51   ((uint32_t)0x00001000) /* Write protection of page 48 to 51 */
 
#define OB_WRP_Pages52to55   ((uint32_t)0x00002000) /* Write protection of page 52 to 55 */
 
#define OB_WRP_Pages56to59   ((uint32_t)0x00004000) /* Write protection of page 56 to 59 */
 
#define OB_WRP_Pages60to63   ((uint32_t)0x00008000) /* Write protection of page 60 to 63 */
 
#define OB_WRP_AllPages   ((uint32_t)0x0000FFFF)
 
#define IS_OB_WRP(PAGE)   (((PAGE) != 0x0000000))
 

Detailed Description

Macro Definition Documentation

#define OB_WRP_AllPages   ((uint32_t)0x0000FFFF)

Write protection of all Sectors