STM32F10x Standard Peripherals Library  3.5.0
FLASH_Flags

Defines

#define FLASH_FLAG_BSY   ((uint32_t)0x00000001)
#define FLASH_FLAG_EOP   ((uint32_t)0x00000020)
#define FLASH_FLAG_PGERR   ((uint32_t)0x00000004)
#define FLASH_FLAG_WRPRTERR   ((uint32_t)0x00000010)
#define FLASH_FLAG_OPTERR   ((uint32_t)0x00000001)
#define FLASH_FLAG_BANK1_BSY   FLASH_FLAG_BSY
#define FLASH_FLAG_BANK1_EOP   FLASH_FLAG_EOP
#define FLASH_FLAG_BANK1_PGERR   FLASH_FLAG_PGERR
#define FLASH_FLAG_BANK1_WRPRTERR   FLASH_FLAG_WRPRTERR
#define IS_FLASH_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint32_t)0xFFFFFFCA) == 0x00000000) && ((FLAG) != 0x00000000))
#define IS_FLASH_GET_FLAG(FLAG)

Define Documentation

#define FLASH_FLAG_BANK1_BSY   FLASH_FLAG_BSY

FLASH BANK1 Busy flag

Definition at line 334 of file stm32f10x_flash.h.

#define FLASH_FLAG_BANK1_EOP   FLASH_FLAG_EOP

FLASH BANK1 End of Operation flag

Definition at line 335 of file stm32f10x_flash.h.

#define FLASH_FLAG_BANK1_PGERR   FLASH_FLAG_PGERR

FLASH BANK1 Program error flag

Definition at line 336 of file stm32f10x_flash.h.

#define FLASH_FLAG_BANK1_WRPRTERR   FLASH_FLAG_WRPRTERR

FLASH BANK1 Write protected error flag

Definition at line 337 of file stm32f10x_flash.h.

#define FLASH_FLAG_BSY   ((uint32_t)0x00000001)

FLASH Busy flag

Definition at line 328 of file stm32f10x_flash.h.

#define FLASH_FLAG_EOP   ((uint32_t)0x00000020)

FLASH End of Operation flag

Definition at line 329 of file stm32f10x_flash.h.

#define FLASH_FLAG_OPTERR   ((uint32_t)0x00000001)

FLASH Option Byte error flag

Definition at line 332 of file stm32f10x_flash.h.

#define FLASH_FLAG_PGERR   ((uint32_t)0x00000004)

FLASH Program error flag

Definition at line 330 of file stm32f10x_flash.h.

#define FLASH_FLAG_WRPRTERR   ((uint32_t)0x00000010)

FLASH Write protected error flag

Definition at line 331 of file stm32f10x_flash.h.

#define IS_FLASH_CLEAR_FLAG (   FLAG)    ((((FLAG) & (uint32_t)0xFFFFFFCA) == 0x00000000) && ((FLAG) != 0x00000000))

Definition at line 339 of file stm32f10x_flash.h.

#define IS_FLASH_GET_FLAG (   FLAG)
Value:
(((FLAG) == FLASH_FLAG_BSY) || ((FLAG) == FLASH_FLAG_EOP) || \
                                  ((FLAG) == FLASH_FLAG_PGERR) || ((FLAG) == FLASH_FLAG_WRPRTERR) || \
                                                                  ((FLAG) == FLASH_FLAG_BANK1_BSY) || ((FLAG) == FLASH_FLAG_BANK1_EOP) || \
                                  ((FLAG) == FLASH_FLAG_BANK1_PGERR) || ((FLAG) == FLASH_FLAG_BANK1_WRPRTERR) || \
                                  ((FLAG) == FLASH_FLAG_OPTERR))

Definition at line 340 of file stm32f10x_flash.h.