Macros | |
#define | FLASH_WRProt_AllPages ((uint32_t)0xFFFFFFFF) |
#define | FLASH_WRProt_Pages0to1 ((uint32_t)0x00000001) |
#define | FLASH_WRProt_Pages0to3 ((uint32_t)0x00000001) |
#define | FLASH_WRProt_Pages100to103 ((uint32_t)0x02000000) |
#define | FLASH_WRProt_Pages104to107 ((uint32_t)0x04000000) |
#define | FLASH_WRProt_Pages108to111 ((uint32_t)0x08000000) |
#define | FLASH_WRProt_Pages10to11 ((uint32_t)0x00000020) |
#define | FLASH_WRProt_Pages112to115 ((uint32_t)0x10000000) |
#define | FLASH_WRProt_Pages116to119 ((uint32_t)0x20000000) |
#define | FLASH_WRProt_Pages120to123 ((uint32_t)0x40000000) |
#define | FLASH_WRProt_Pages124to127 ((uint32_t)0x80000000) |
#define | FLASH_WRProt_Pages12to13 ((uint32_t)0x00000040) |
#define | FLASH_WRProt_Pages12to15 ((uint32_t)0x00000008) |
#define | FLASH_WRProt_Pages14to15 ((uint32_t)0x00000080) |
#define | FLASH_WRProt_Pages16to17 ((uint32_t)0x00000100) |
#define | FLASH_WRProt_Pages16to19 ((uint32_t)0x00000010) |
#define | FLASH_WRProt_Pages18to19 ((uint32_t)0x00000200) |
#define | FLASH_WRProt_Pages20to21 ((uint32_t)0x00000400) |
#define | FLASH_WRProt_Pages20to23 ((uint32_t)0x00000020) |
#define | FLASH_WRProt_Pages22to23 ((uint32_t)0x00000800) |
#define | FLASH_WRProt_Pages24to25 ((uint32_t)0x00001000) |
#define | FLASH_WRProt_Pages24to27 ((uint32_t)0x00000040) |
#define | FLASH_WRProt_Pages26to27 ((uint32_t)0x00002000) |
#define | FLASH_WRProt_Pages28to29 ((uint32_t)0x00004000) |
#define | FLASH_WRProt_Pages28to31 ((uint32_t)0x00000080) |
#define | FLASH_WRProt_Pages2to3 ((uint32_t)0x00000002) |
#define | FLASH_WRProt_Pages30to31 ((uint32_t)0x00008000) |
#define | FLASH_WRProt_Pages32to33 ((uint32_t)0x00010000) |
#define | FLASH_WRProt_Pages32to35 ((uint32_t)0x00000100) |
#define | FLASH_WRProt_Pages34to35 ((uint32_t)0x00020000) |
#define | FLASH_WRProt_Pages36to37 ((uint32_t)0x00040000) |
#define | FLASH_WRProt_Pages36to39 ((uint32_t)0x00000200) |
#define | FLASH_WRProt_Pages38to39 ((uint32_t)0x00080000) |
#define | FLASH_WRProt_Pages40to41 ((uint32_t)0x00100000) |
#define | FLASH_WRProt_Pages40to43 ((uint32_t)0x00000400) |
#define | FLASH_WRProt_Pages42to43 ((uint32_t)0x00200000) |
#define | FLASH_WRProt_Pages44to45 ((uint32_t)0x00400000) |
#define | FLASH_WRProt_Pages44to47 ((uint32_t)0x00000800) |
#define | FLASH_WRProt_Pages46to47 ((uint32_t)0x00800000) |
#define | FLASH_WRProt_Pages48to49 ((uint32_t)0x01000000) |
#define | FLASH_WRProt_Pages48to51 ((uint32_t)0x00001000) |
#define | FLASH_WRProt_Pages4to5 ((uint32_t)0x00000004) |
#define | FLASH_WRProt_Pages4to7 ((uint32_t)0x00000002) |
#define | FLASH_WRProt_Pages50to51 ((uint32_t)0x02000000) |
#define | FLASH_WRProt_Pages52to53 ((uint32_t)0x04000000) |
#define | FLASH_WRProt_Pages52to55 ((uint32_t)0x00002000) |
#define | FLASH_WRProt_Pages54to55 ((uint32_t)0x08000000) |
#define | FLASH_WRProt_Pages56to57 ((uint32_t)0x10000000) |
#define | FLASH_WRProt_Pages56to59 ((uint32_t)0x00004000) |
#define | FLASH_WRProt_Pages58to59 ((uint32_t)0x20000000) |
#define | FLASH_WRProt_Pages60to61 ((uint32_t)0x40000000) |
#define | FLASH_WRProt_Pages60to63 ((uint32_t)0x00008000) |
#define | FLASH_WRProt_Pages62to127 ((uint32_t)0x80000000) |
#define | FLASH_WRProt_Pages62to255 ((uint32_t)0x80000000) |
#define | FLASH_WRProt_Pages62to511 ((uint32_t)0x80000000) |
#define | FLASH_WRProt_Pages64to67 ((uint32_t)0x00010000) |
#define | FLASH_WRProt_Pages68to71 ((uint32_t)0x00020000) |
#define | FLASH_WRProt_Pages6to7 ((uint32_t)0x00000008) |
#define | FLASH_WRProt_Pages72to75 ((uint32_t)0x00040000) |
#define | FLASH_WRProt_Pages76to79 ((uint32_t)0x00080000) |
#define | FLASH_WRProt_Pages80to83 ((uint32_t)0x00100000) |
#define | FLASH_WRProt_Pages84to87 ((uint32_t)0x00200000) |
#define | FLASH_WRProt_Pages88to91 ((uint32_t)0x00400000) |
#define | FLASH_WRProt_Pages8to11 ((uint32_t)0x00000004) |
#define | FLASH_WRProt_Pages8to9 ((uint32_t)0x00000010) |
#define | FLASH_WRProt_Pages92to95 ((uint32_t)0x00800000) |
#define | FLASH_WRProt_Pages96to99 ((uint32_t)0x01000000) |
#define | IS_FLASH_ADDRESS(ADDRESS) (((ADDRESS) >= 0x08000000) && ((ADDRESS) < 0x080FFFFF)) |
#define | IS_FLASH_WRPROT_PAGE(PAGE) (((PAGE) != 0x00000000)) |
#define | IS_OB_DATA_ADDRESS(ADDRESS) (((ADDRESS) == 0x1FFFF804) || ((ADDRESS) == 0x1FFFF806)) |
#define | IS_OB_WRP(PAGE) (((PAGE) != 0x0000000)) |
#define | IS_OB_WRP(SECTOR) ((((SECTOR) & (uint32_t)0xFFFFF000) == 0x00000000) && ((SECTOR) != 0x00000000)) |
#define | OB_WRP_AllPages ((uint32_t)0xFFFFFFFF) |
#define | OB_WRP_Pages0to1 ((uint32_t)0x00000001) /* Write protection of page 0 to 1 */ |
#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_Pages2to3 ((uint32_t)0x00000002) /* Write protection of page 2 to 3 */ |
#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_Pages4to5 ((uint32_t)0x00000004) /* Write protection of page 4 to 5 */ |
#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_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_Sector_0 ((uint32_t)0x00000001) |
#define | OB_WRP_Sector_1 ((uint32_t)0x00000002) |
#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_2 ((uint32_t)0x00000004) |
#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_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_All ((uint32_t)0x00000FFF) |
#define FLASH_WRProt_AllPages ((uint32_t)0xFFFFFFFF) |
Write protection of all Pages
Definition at line 243 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages0to1 ((uint32_t)0x00000001) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 0 to 1
Definition at line 146 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages0to3 ((uint32_t)0x00000001) |
STM32 Low and Medium density devices: Write protection of page 0 to 3
Definition at line 110 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages100to103 ((uint32_t)0x02000000) |
STM32 Medium-density devices: Write protection of page 100 to 103
Definition at line 137 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages104to107 ((uint32_t)0x04000000) |
STM32 Medium-density devices: Write protection of page 104 to 107
Definition at line 138 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages108to111 ((uint32_t)0x08000000) |
STM32 Medium-density devices: Write protection of page 108 to 111
Definition at line 139 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages10to11 ((uint32_t)0x00000020) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 10 to 11
Definition at line 161 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages112to115 ((uint32_t)0x10000000) |
STM32 Medium-density devices: Write protection of page 112 to 115
Definition at line 140 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages116to119 ((uint32_t)0x20000000) |
STM32 Medium-density devices: Write protection of page 115 to 119
Definition at line 141 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages120to123 ((uint32_t)0x40000000) |
STM32 Medium-density devices: Write protection of page 120 to 123
Definition at line 142 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages124to127 ((uint32_t)0x80000000) |
STM32 Medium-density devices: Write protection of page 124 to 127
Definition at line 143 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages12to13 ((uint32_t)0x00000040) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 12 to 13
Definition at line 164 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages12to15 ((uint32_t)0x00000008) |
STM32 Low and Medium density devices: Write protection of page 12 to 15
Definition at line 113 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages14to15 ((uint32_t)0x00000080) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 14 to 15
Definition at line 167 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages16to17 ((uint32_t)0x00000100) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 16 to 17
Definition at line 170 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages16to19 ((uint32_t)0x00000010) |
STM32 Low and Medium density devices: Write protection of page 16 to 19
Definition at line 114 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages18to19 ((uint32_t)0x00000200) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 18 to 19
Definition at line 173 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages20to21 ((uint32_t)0x00000400) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 20 to 21
Definition at line 176 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages20to23 ((uint32_t)0x00000020) |
STM32 Low and Medium density devices: Write protection of page 20 to 23
Definition at line 115 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages22to23 ((uint32_t)0x00000800) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 22 to 23
Definition at line 179 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages24to25 ((uint32_t)0x00001000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 24 to 25
Definition at line 182 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages24to27 ((uint32_t)0x00000040) |
STM32 Low and Medium density devices: Write protection of page 24 to 27
Definition at line 116 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages26to27 ((uint32_t)0x00002000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 26 to 27
Definition at line 185 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages28to29 ((uint32_t)0x00004000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 28 to 29
Definition at line 188 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages28to31 ((uint32_t)0x00000080) |
STM32 Low and Medium density devices: Write protection of page 28 to 31
Definition at line 117 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages2to3 ((uint32_t)0x00000002) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 2 to 3
Definition at line 149 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages30to31 ((uint32_t)0x00008000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 30 to 31
Definition at line 191 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages32to33 ((uint32_t)0x00010000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 32 to 33
Definition at line 194 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages32to35 ((uint32_t)0x00000100) |
STM32 Medium-density devices: Write protection of page 32 to 35
Definition at line 120 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages34to35 ((uint32_t)0x00020000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 34 to 35
Definition at line 197 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages36to37 ((uint32_t)0x00040000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 36 to 37
Definition at line 200 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages36to39 ((uint32_t)0x00000200) |
STM32 Medium-density devices: Write protection of page 36 to 39
Definition at line 121 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages38to39 ((uint32_t)0x00080000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 38 to 39
Definition at line 203 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages40to41 ((uint32_t)0x00100000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 40 to 41
Definition at line 206 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages40to43 ((uint32_t)0x00000400) |
STM32 Medium-density devices: Write protection of page 40 to 43
Definition at line 122 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages42to43 ((uint32_t)0x00200000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 42 to 43
Definition at line 209 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages44to45 ((uint32_t)0x00400000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 44 to 45
Definition at line 212 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages44to47 ((uint32_t)0x00000800) |
STM32 Medium-density devices: Write protection of page 44 to 47
Definition at line 123 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages46to47 ((uint32_t)0x00800000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 46 to 47
Definition at line 215 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages48to49 ((uint32_t)0x01000000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 48 to 49
Definition at line 218 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages48to51 ((uint32_t)0x00001000) |
STM32 Medium-density devices: Write protection of page 48 to 51
Definition at line 124 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages4to5 ((uint32_t)0x00000004) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 4 to 5
Definition at line 152 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages4to7 ((uint32_t)0x00000002) |
STM32 Low and Medium density devices: Write protection of page 4 to 7
Definition at line 111 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages50to51 ((uint32_t)0x02000000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 50 to 51
Definition at line 221 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages52to53 ((uint32_t)0x04000000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 52 to 53
Definition at line 224 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages52to55 ((uint32_t)0x00002000) |
STM32 Medium-density devices: Write protection of page 52 to 55
Definition at line 125 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages54to55 ((uint32_t)0x08000000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 54 to 55
Definition at line 227 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages56to57 ((uint32_t)0x10000000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 56 to 57
Definition at line 230 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages56to59 ((uint32_t)0x00004000) |
STM32 Medium-density devices: Write protection of page 56 to 59
Definition at line 126 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages58to59 ((uint32_t)0x20000000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 58 to 59
Definition at line 233 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages60to61 ((uint32_t)0x40000000) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 60 to 61
Definition at line 236 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages60to63 ((uint32_t)0x00008000) |
STM32 Medium-density devices: Write protection of page 60 to 63
Definition at line 127 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages62to127 ((uint32_t)0x80000000) |
STM32 Connectivity line devices: Write protection of page 62 to 127
Definition at line 239 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages62to255 ((uint32_t)0x80000000) |
STM32 Medium-density devices: Write protection of page 62 to 255
Definition at line 240 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages62to511 ((uint32_t)0x80000000) |
STM32 XL-density devices: Write protection of page 62 to 511
Definition at line 241 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages64to67 ((uint32_t)0x00010000) |
STM32 Medium-density devices: Write protection of page 64 to 67
Definition at line 128 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages68to71 ((uint32_t)0x00020000) |
STM32 Medium-density devices: Write protection of page 68 to 71
Definition at line 129 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages6to7 ((uint32_t)0x00000008) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 6 to 7
Definition at line 155 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages72to75 ((uint32_t)0x00040000) |
STM32 Medium-density devices: Write protection of page 72 to 75
Definition at line 130 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages76to79 ((uint32_t)0x00080000) |
STM32 Medium-density devices: Write protection of page 76 to 79
Definition at line 131 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages80to83 ((uint32_t)0x00100000) |
STM32 Medium-density devices: Write protection of page 80 to 83
Definition at line 132 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages84to87 ((uint32_t)0x00200000) |
STM32 Medium-density devices: Write protection of page 84 to 87
Definition at line 133 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages88to91 ((uint32_t)0x00400000) |
STM32 Medium-density devices: Write protection of page 88 to 91
Definition at line 134 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages8to11 ((uint32_t)0x00000004) |
STM32 Low and Medium density devices: Write protection of page 8 to 11
Definition at line 112 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages8to9 ((uint32_t)0x00000010) |
STM32 High-density, XL-density and Connectivity line devices: Write protection of page 8 to 9
Definition at line 158 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages92to95 ((uint32_t)0x00800000) |
STM32 Medium-density devices: Write protection of page 92 to 95
Definition at line 135 of file stm32f10x_flash.h.
#define FLASH_WRProt_Pages96to99 ((uint32_t)0x01000000) |
STM32 Medium-density devices: Write protection of page 96 to 99
Definition at line 136 of file stm32f10x_flash.h.
#define IS_FLASH_ADDRESS | ( | ADDRESS | ) | (((ADDRESS) >= 0x08000000) && ((ADDRESS) < 0x080FFFFF)) |
Definition at line 247 of file stm32f10x_flash.h.
#define IS_FLASH_WRPROT_PAGE | ( | PAGE | ) | (((PAGE) != 0x00000000)) |
Definition at line 245 of file stm32f10x_flash.h.
#define IS_OB_DATA_ADDRESS | ( | ADDRESS | ) | (((ADDRESS) == 0x1FFFF804) || ((ADDRESS) == 0x1FFFF806)) |
Definition at line 249 of file stm32f10x_flash.h.
#define IS_OB_WRP | ( | PAGE | ) | (((PAGE) != 0x0000000)) |
Definition at line 149 of file stm32f30x_flash.h.
#define IS_OB_WRP | ( | SECTOR | ) | ((((SECTOR) & (uint32_t)0xFFFFF000) == 0x00000000) && ((SECTOR) != 0x00000000)) |
Definition at line 187 of file stm32f4xx_flash.h.
#define OB_WRP_AllPages ((uint32_t)0xFFFFFFFF) |
Write protection of all Sectors
Definition at line 147 of file stm32f30x_flash.h.
#define OB_WRP_Pages0to1 ((uint32_t)0x00000001) /* Write protection of page 0 to 1 */ |
Definition at line 114 of file stm32f30x_flash.h.
#define OB_WRP_Pages10to11 ((uint32_t)0x00000020) /* Write protection of page 10 to 11 */ |
Definition at line 119 of file stm32f30x_flash.h.
#define OB_WRP_Pages12to13 ((uint32_t)0x00000040) /* Write protection of page 12 to 13 */ |
Definition at line 120 of file stm32f30x_flash.h.
#define OB_WRP_Pages14to15 ((uint32_t)0x00000080) /* Write protection of page 14 to 15 */ |
Definition at line 121 of file stm32f30x_flash.h.
#define OB_WRP_Pages16to17 ((uint32_t)0x00000100) /* Write protection of page 16 to 17 */ |
Definition at line 122 of file stm32f30x_flash.h.
#define OB_WRP_Pages18to19 ((uint32_t)0x00000200) /* Write protection of page 18 to 19 */ |
Definition at line 123 of file stm32f30x_flash.h.
#define OB_WRP_Pages20to21 ((uint32_t)0x00000400) /* Write protection of page 20 to 21 */ |
Definition at line 124 of file stm32f30x_flash.h.
#define OB_WRP_Pages22to23 ((uint32_t)0x00000800) /* Write protection of page 22 to 23 */ |
Definition at line 125 of file stm32f30x_flash.h.
#define OB_WRP_Pages24to25 ((uint32_t)0x00001000) /* Write protection of page 24 to 25 */ |
Definition at line 126 of file stm32f30x_flash.h.
#define OB_WRP_Pages26to27 ((uint32_t)0x00002000) /* Write protection of page 26 to 27 */ |
Definition at line 127 of file stm32f30x_flash.h.
#define OB_WRP_Pages28to29 ((uint32_t)0x00004000) /* Write protection of page 28 to 29 */ |
Definition at line 128 of file stm32f30x_flash.h.
#define OB_WRP_Pages2to3 ((uint32_t)0x00000002) /* Write protection of page 2 to 3 */ |
Definition at line 115 of file stm32f30x_flash.h.
#define OB_WRP_Pages30to31 ((uint32_t)0x00008000) /* Write protection of page 30 to 31 */ |
Definition at line 129 of file stm32f30x_flash.h.
#define OB_WRP_Pages32to33 ((uint32_t)0x00010000) /* Write protection of page 32 to 33 */ |
Definition at line 130 of file stm32f30x_flash.h.
#define OB_WRP_Pages34to35 ((uint32_t)0x00020000) /* Write protection of page 34 to 35 */ |
Definition at line 131 of file stm32f30x_flash.h.
#define OB_WRP_Pages36to37 ((uint32_t)0x00040000) /* Write protection of page 36 to 37 */ |
Definition at line 132 of file stm32f30x_flash.h.
#define OB_WRP_Pages38to39 ((uint32_t)0x00080000) /* Write protection of page 38 to 39 */ |
Definition at line 133 of file stm32f30x_flash.h.
#define OB_WRP_Pages40to41 ((uint32_t)0x00100000) /* Write protection of page 40 to 41 */ |
Definition at line 134 of file stm32f30x_flash.h.
#define OB_WRP_Pages42to43 ((uint32_t)0x00200000) /* Write protection of page 42 to 43 */ |
Definition at line 135 of file stm32f30x_flash.h.
#define OB_WRP_Pages44to45 ((uint32_t)0x00400000) /* Write protection of page 44 to 45 */ |
Definition at line 136 of file stm32f30x_flash.h.
#define OB_WRP_Pages46to47 ((uint32_t)0x00800000) /* Write protection of page 46 to 47 */ |
Definition at line 137 of file stm32f30x_flash.h.
#define OB_WRP_Pages48to49 ((uint32_t)0x01000000) /* Write protection of page 48 to 49 */ |
Definition at line 138 of file stm32f30x_flash.h.
#define OB_WRP_Pages4to5 ((uint32_t)0x00000004) /* Write protection of page 4 to 5 */ |
Definition at line 116 of file stm32f30x_flash.h.
#define OB_WRP_Pages50to51 ((uint32_t)0x02000000) /* Write protection of page 50 to 51 */ |
Definition at line 139 of file stm32f30x_flash.h.
#define OB_WRP_Pages52to53 ((uint32_t)0x04000000) /* Write protection of page 52 to 53 */ |
Definition at line 140 of file stm32f30x_flash.h.
#define OB_WRP_Pages54to55 ((uint32_t)0x08000000) /* Write protection of page 54 to 55 */ |
Definition at line 141 of file stm32f30x_flash.h.
#define OB_WRP_Pages56to57 ((uint32_t)0x10000000) /* Write protection of page 56 to 57 */ |
Definition at line 142 of file stm32f30x_flash.h.
#define OB_WRP_Pages58to59 ((uint32_t)0x20000000) /* Write protection of page 58 to 59 */ |
Definition at line 143 of file stm32f30x_flash.h.
#define OB_WRP_Pages60to61 ((uint32_t)0x40000000) /* Write protection of page 60 to 61 */ |
Definition at line 144 of file stm32f30x_flash.h.
#define OB_WRP_Pages62to127 ((uint32_t)0x80000000) /* Write protection of page 62 to 127 */ |
Definition at line 145 of file stm32f30x_flash.h.
#define OB_WRP_Pages6to7 ((uint32_t)0x00000008) /* Write protection of page 6 to 7 */ |
Definition at line 117 of file stm32f30x_flash.h.
#define OB_WRP_Pages8to9 ((uint32_t)0x00000010) /* Write protection of page 8 to 9 */ |
Definition at line 118 of file stm32f30x_flash.h.
#define OB_WRP_Sector_0 ((uint32_t)0x00000001) |
Write protection of Sector0
Definition at line 161 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_1 ((uint32_t)0x00000002) |
Write protection of Sector1
Definition at line 162 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_10 ((uint32_t)0x00000400) |
Write protection of Sector10
Definition at line 171 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_11 ((uint32_t)0x00000800) |
Write protection of Sector11
Definition at line 172 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_12 ((uint32_t)0x00000001) |
Write protection of Sector12
Definition at line 173 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_13 ((uint32_t)0x00000002) |
Write protection of Sector13
Definition at line 174 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_14 ((uint32_t)0x00000004) |
Write protection of Sector14
Definition at line 175 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_15 ((uint32_t)0x00000008) |
Write protection of Sector15
Definition at line 176 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_16 ((uint32_t)0x00000010) |
Write protection of Sector16
Definition at line 177 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_17 ((uint32_t)0x00000020) |
Write protection of Sector17
Definition at line 178 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_18 ((uint32_t)0x00000040) |
Write protection of Sector18
Definition at line 179 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_19 ((uint32_t)0x00000080) |
Write protection of Sector19
Definition at line 180 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_2 ((uint32_t)0x00000004) |
Write protection of Sector2
Definition at line 163 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_20 ((uint32_t)0x00000100) |
Write protection of Sector20
Definition at line 181 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_21 ((uint32_t)0x00000200) |
Write protection of Sector21
Definition at line 182 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_22 ((uint32_t)0x00000400) |
Write protection of Sector22
Definition at line 183 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_23 ((uint32_t)0x00000800) |
Write protection of Sector23
Definition at line 184 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_3 ((uint32_t)0x00000008) |
Write protection of Sector3
Definition at line 164 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_4 ((uint32_t)0x00000010) |
Write protection of Sector4
Definition at line 165 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_5 ((uint32_t)0x00000020) |
Write protection of Sector5
Definition at line 166 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_6 ((uint32_t)0x00000040) |
Write protection of Sector6
Definition at line 167 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_7 ((uint32_t)0x00000080) |
Write protection of Sector7
Definition at line 168 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_8 ((uint32_t)0x00000100) |
Write protection of Sector8
Definition at line 169 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_9 ((uint32_t)0x00000200) |
Write protection of Sector9
Definition at line 170 of file stm32f4xx_flash.h.
#define OB_WRP_Sector_All ((uint32_t)0x00000FFF) |
Write protection of all Sectors
Definition at line 185 of file stm32f4xx_flash.h.