discoverpixy
Macros
Collaboration diagram for FLASH_Sectors:

Macros

#define FLASH_Sector_0   ((uint16_t)0x0000)
 
#define FLASH_Sector_1   ((uint16_t)0x0008)
 
#define FLASH_Sector_2   ((uint16_t)0x0010)
 
#define FLASH_Sector_3   ((uint16_t)0x0018)
 
#define FLASH_Sector_4   ((uint16_t)0x0020)
 
#define FLASH_Sector_5   ((uint16_t)0x0028)
 
#define FLASH_Sector_6   ((uint16_t)0x0030)
 
#define FLASH_Sector_7   ((uint16_t)0x0038)
 
#define FLASH_Sector_8   ((uint16_t)0x0040)
 
#define FLASH_Sector_9   ((uint16_t)0x0048)
 
#define FLASH_Sector_10   ((uint16_t)0x0050)
 
#define FLASH_Sector_11   ((uint16_t)0x0058)
 
#define FLASH_Sector_12   ((uint16_t)0x0080)
 
#define FLASH_Sector_13   ((uint16_t)0x0088)
 
#define FLASH_Sector_14   ((uint16_t)0x0090)
 
#define FLASH_Sector_15   ((uint16_t)0x0098)
 
#define FLASH_Sector_16   ((uint16_t)0x00A0)
 
#define FLASH_Sector_17   ((uint16_t)0x00A8)
 
#define FLASH_Sector_18   ((uint16_t)0x00B0)
 
#define FLASH_Sector_19   ((uint16_t)0x00B8)
 
#define FLASH_Sector_20   ((uint16_t)0x00C0)
 
#define FLASH_Sector_21   ((uint16_t)0x00C8)
 
#define FLASH_Sector_22   ((uint16_t)0x00D0)
 
#define FLASH_Sector_23   ((uint16_t)0x00D8)
 
#define IS_FLASH_SECTOR(SECTOR)
 
#define IS_FLASH_ADDRESS(ADDRESS)
 

Detailed Description

Macro Definition Documentation

#define FLASH_Sector_0   ((uint16_t)0x0000)

Sector Number 0

#define FLASH_Sector_1   ((uint16_t)0x0008)

Sector Number 1

#define FLASH_Sector_10   ((uint16_t)0x0050)

Sector Number 10

#define FLASH_Sector_11   ((uint16_t)0x0058)

Sector Number 11

#define FLASH_Sector_12   ((uint16_t)0x0080)

Sector Number 12

#define FLASH_Sector_13   ((uint16_t)0x0088)

Sector Number 13

#define FLASH_Sector_14   ((uint16_t)0x0090)

Sector Number 14

#define FLASH_Sector_15   ((uint16_t)0x0098)

Sector Number 15

#define FLASH_Sector_16   ((uint16_t)0x00A0)

Sector Number 16

#define FLASH_Sector_17   ((uint16_t)0x00A8)

Sector Number 17

#define FLASH_Sector_18   ((uint16_t)0x00B0)

Sector Number 18

#define FLASH_Sector_19   ((uint16_t)0x00B8)

Sector Number 19

#define FLASH_Sector_2   ((uint16_t)0x0010)

Sector Number 2

#define FLASH_Sector_20   ((uint16_t)0x00C0)

Sector Number 20

#define FLASH_Sector_21   ((uint16_t)0x00C8)

Sector Number 21

#define FLASH_Sector_22   ((uint16_t)0x00D0)

Sector Number 22

#define FLASH_Sector_23   ((uint16_t)0x00D8)

Sector Number 23

#define FLASH_Sector_3   ((uint16_t)0x0018)

Sector Number 3

#define FLASH_Sector_4   ((uint16_t)0x0020)

Sector Number 4

#define FLASH_Sector_5   ((uint16_t)0x0028)

Sector Number 5

#define FLASH_Sector_6   ((uint16_t)0x0030)

Sector Number 6

#define FLASH_Sector_7   ((uint16_t)0x0038)

Sector Number 7

#define FLASH_Sector_8   ((uint16_t)0x0040)

Sector Number 8

#define FLASH_Sector_9   ((uint16_t)0x0048)

Sector Number 9

#define IS_FLASH_ADDRESS (   ADDRESS)
Value:
((((ADDRESS) >= 0x08000000) && ((ADDRESS) <= 0x080FFFFF)) ||\
(((ADDRESS) >= 0x1FFF7800) && ((ADDRESS) <= 0x1FFF7A0F)))
#define IS_FLASH_SECTOR (   SECTOR)
Value:
(((SECTOR) == FLASH_Sector_0) || ((SECTOR) == FLASH_Sector_1) ||\
((SECTOR) == FLASH_Sector_2) || ((SECTOR) == FLASH_Sector_3) ||\
((SECTOR) == FLASH_Sector_4) || ((SECTOR) == FLASH_Sector_5) ||\
((SECTOR) == FLASH_Sector_6) || ((SECTOR) == FLASH_Sector_7) ||\
((SECTOR) == FLASH_Sector_8) || ((SECTOR) == FLASH_Sector_9) ||\
((SECTOR) == FLASH_Sector_10) || ((SECTOR) == FLASH_Sector_11) ||\
((SECTOR) == FLASH_Sector_12) || ((SECTOR) == FLASH_Sector_13) ||\
((SECTOR) == FLASH_Sector_14) || ((SECTOR) == FLASH_Sector_15) ||\
((SECTOR) == FLASH_Sector_16) || ((SECTOR) == FLASH_Sector_17) ||\
((SECTOR) == FLASH_Sector_18) || ((SECTOR) == FLASH_Sector_19) ||\
((SECTOR) == FLASH_Sector_20) || ((SECTOR) == FLASH_Sector_21) ||\
((SECTOR) == FLASH_Sector_22) || ((SECTOR) == FLASH_Sector_23))
#define FLASH_Sector_2
Definition: stm32f4xx_flash.h:133
#define FLASH_Sector_6
Definition: stm32f4xx_flash.h:137
#define FLASH_Sector_17
Definition: stm32f4xx_flash.h:148
#define FLASH_Sector_22
Definition: stm32f4xx_flash.h:153
#define FLASH_Sector_16
Definition: stm32f4xx_flash.h:147
#define FLASH_Sector_8
Definition: stm32f4xx_flash.h:139
#define FLASH_Sector_13
Definition: stm32f4xx_flash.h:144
#define FLASH_Sector_20
Definition: stm32f4xx_flash.h:151
#define FLASH_Sector_7
Definition: stm32f4xx_flash.h:138
#define FLASH_Sector_1
Definition: stm32f4xx_flash.h:132
#define FLASH_Sector_10
Definition: stm32f4xx_flash.h:141
#define FLASH_Sector_12
Definition: stm32f4xx_flash.h:143
#define FLASH_Sector_5
Definition: stm32f4xx_flash.h:136
#define FLASH_Sector_9
Definition: stm32f4xx_flash.h:140
#define FLASH_Sector_0
Definition: stm32f4xx_flash.h:131
#define FLASH_Sector_19
Definition: stm32f4xx_flash.h:150
#define FLASH_Sector_21
Definition: stm32f4xx_flash.h:152
#define FLASH_Sector_15
Definition: stm32f4xx_flash.h:146
#define FLASH_Sector_11
Definition: stm32f4xx_flash.h:142
#define FLASH_Sector_14
Definition: stm32f4xx_flash.h:145
#define FLASH_Sector_4
Definition: stm32f4xx_flash.h:135
#define FLASH_Sector_23
Definition: stm32f4xx_flash.h:154
#define FLASH_Sector_18
Definition: stm32f4xx_flash.h:149
#define FLASH_Sector_3
Definition: stm32f4xx_flash.h:134