FLASH_Flags
[FLASH_Exported_Constants]

Defines

#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 FLASH_FLAG_BSY   ((uint32_t)0x00000001)
#define FLASH_FLAG_EOP   ((uint32_t)0x00000020)
#define FLASH_FLAG_OPTERR   ((uint32_t)0x00000001)
#define FLASH_FLAG_PGERR   ((uint32_t)0x00000004)
#define FLASH_FLAG_WRPRTERR   ((uint32_t)0x00000010)
#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 333 of file stm32f10x_flash.h.

Referenced by FLASH_GetBank1Status(), and FLASH_WaitForLastBank1Operation().

#define FLASH_FLAG_BANK1_EOP   FLASH_FLAG_EOP

FLASH BANK1 End of Operation flag

Definition at line 334 of file stm32f10x_flash.h.

#define FLASH_FLAG_BANK1_PGERR   FLASH_FLAG_PGERR

FLASH BANK1 Program error flag

Definition at line 335 of file stm32f10x_flash.h.

Referenced by FLASH_GetBank1Status().

#define FLASH_FLAG_BANK1_WRPRTERR   FLASH_FLAG_WRPRTERR

FLASH BANK1 Write protected error flag

Definition at line 336 of file stm32f10x_flash.h.

Referenced by FLASH_GetBank1Status().

#define FLASH_FLAG_BSY   ((uint32_t)0x00000001)

FLASH Busy flag

Definition at line 327 of file stm32f10x_flash.h.

Referenced by FLASH_GetBank1Status(), FLASH_GetStatus(), and main().

#define FLASH_FLAG_EOP   ((uint32_t)0x00000020)

FLASH End of Operation flag

Definition at line 328 of file stm32f10x_flash.h.

Referenced by main().

#define FLASH_FLAG_OPTERR   ((uint32_t)0x00000001)

FLASH Option Byte error flag

Definition at line 331 of file stm32f10x_flash.h.

Referenced by FLASH_GetFlagStatus().

#define FLASH_FLAG_PGERR   ((uint32_t)0x00000004)

FLASH Program error flag

Definition at line 329 of file stm32f10x_flash.h.

Referenced by FLASH_GetStatus(), and main().

#define FLASH_FLAG_WRPRTERR   ((uint32_t)0x00000010)

FLASH Write protected error flag

Definition at line 330 of file stm32f10x_flash.h.

Referenced by FLASH_GetStatus(), and main().

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

Definition at line 338 of file stm32f10x_flash.h.

Referenced by FLASH_ClearFlag().

#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 339 of file stm32f10x_flash.h.

Referenced by FLASH_GetFlagStatus().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32