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_FLAG_EOP   ((uint32_t)0x00000001)
 
#define FLASH_FLAG_OPERR   ((uint32_t)0x00000002)
 
#define FLASH_FLAG_WRPERR   ((uint32_t)0x00000010)
 
#define FLASH_FLAG_PGAERR   ((uint32_t)0x00000020)
 
#define FLASH_FLAG_PGPERR   ((uint32_t)0x00000040)
 
#define FLASH_FLAG_PGSERR   ((uint32_t)0x00000080)
 
#define FLASH_FLAG_BSY   ((uint32_t)0x00010000)
 
#define IS_FLASH_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint32_t)0xFFFFFF0C) == 0x00000000) && ((FLAG) != 0x00000000))
 
#define IS_FLASH_GET_FLAG(FLAG)
 

Detailed Description

Macro Definition Documentation

#define FLASH_FLAG_BSY   ((uint32_t)0x00010000)

FLASH Busy flag

#define FLASH_FLAG_EOP   ((uint32_t)0x00000001)

FLASH End of Operation flag

#define FLASH_FLAG_OPERR   ((uint32_t)0x00000002)

FLASH operation Error flag

#define FLASH_FLAG_PGAERR   ((uint32_t)0x00000020)

FLASH Programming Alignment error flag

#define FLASH_FLAG_PGPERR   ((uint32_t)0x00000040)

FLASH Programming Parallelism error flag

#define FLASH_FLAG_PGSERR   ((uint32_t)0x00000080)

FLASH Programming Sequence error flag

#define FLASH_FLAG_WRPERR   ((uint32_t)0x00000010)

FLASH Write protected error flag

#define IS_FLASH_GET_FLAG (   FLAG)
Value:
(((FLAG) == FLASH_FLAG_EOP) || ((FLAG) == FLASH_FLAG_OPERR) || \
((FLAG) == FLASH_FLAG_WRPERR) || ((FLAG) == FLASH_FLAG_PGAERR) || \
((FLAG) == FLASH_FLAG_PGPERR) || ((FLAG) == FLASH_FLAG_PGSERR) || \
((FLAG) == FLASH_FLAG_BSY))