uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Macros

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

Detailed Description

Macro Definition Documentation

#define FLASH_FLAG_BANK1_BSY   FLASH_FLAG_BSY

FLASH BANK1 Busy flag

Definition at line 365 of file stm32f10x_flash.h.

#define FLASH_FLAG_BANK1_EOP   FLASH_FLAG_EOP

FLASH BANK1 End of Operation flag

Definition at line 366 of file stm32f10x_flash.h.

#define FLASH_FLAG_BANK1_PGERR   FLASH_FLAG_PGERR

FLASH BANK1 Program error flag

Definition at line 367 of file stm32f10x_flash.h.

#define FLASH_FLAG_BANK1_WRPRTERR   FLASH_FLAG_WRPRTERR

FLASH BANK1 Write protected error flag

Definition at line 368 of file stm32f10x_flash.h.

#define FLASH_FLAG_BSY   ((uint32_t)0x00000001)

FLASH Busy flag

Definition at line 359 of file stm32f10x_flash.h.

#define FLASH_FLAG_EOP   ((uint32_t)0x00000020)

FLASH End of Operation flag

Definition at line 360 of file stm32f10x_flash.h.

#define FLASH_FLAG_OPTERR   ((uint32_t)0x00000001)

FLASH Option Byte error flag

Definition at line 363 of file stm32f10x_flash.h.

#define FLASH_FLAG_PGERR   ((uint32_t)0x00000004)

FLASH Program error flag

Definition at line 361 of file stm32f10x_flash.h.

#define FLASH_FLAG_WRPRTERR   ((uint32_t)0x00000010)

FLASH Write protected error flag

Definition at line 362 of file stm32f10x_flash.h.

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

Definition at line 370 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 371 of file stm32f10x_flash.h.