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

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 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_2   ((uint16_t)0x0010)

Sector Number 2

#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))