DIY Logging Volt/Ampmeter
|
Macros | |
#define | IS_FLASH_TYPEERASE(VALUE) (((VALUE) == FLASH_TYPEERASE_PAGES) || ((VALUE) == FLASH_TYPEERASE_MASSERASE)) |
#define | IS_OPTIONBYTE(VALUE) (((VALUE) <= (OPTIONBYTE_WRP | OPTIONBYTE_RDP | OPTIONBYTE_USER | OPTIONBYTE_DATA))) |
#define | IS_WRPSTATE(VALUE) (((VALUE) == OB_WRPSTATE_DISABLE) || ((VALUE) == OB_WRPSTATE_ENABLE)) |
#define | IS_OB_RDP_LEVEL(LEVEL) (((LEVEL) == OB_RDP_LEVEL_0) || ((LEVEL) == OB_RDP_LEVEL_1)) |
#define | IS_OB_DATA_ADDRESS(ADDRESS) (((ADDRESS) == OB_DATA_ADDRESS_DATA0) || ((ADDRESS) == OB_DATA_ADDRESS_DATA1)) |
#define | IS_OB_IWDG_SOURCE(SOURCE) (((SOURCE) == OB_IWDG_SW) || ((SOURCE) == OB_IWDG_HW)) |
#define | IS_OB_STOP_SOURCE(SOURCE) (((SOURCE) == OB_STOP_NO_RST) || ((SOURCE) == OB_STOP_RST)) |
#define | IS_OB_STDBY_SOURCE(SOURCE) (((SOURCE) == OB_STDBY_NO_RST) || ((SOURCE) == OB_STDBY_RST)) |
#define | IS_OB_WRP(PAGE) (((PAGE) != 0x0000000U)) |
#define | IS_FLASH_BANK(BANK) (((BANK) == FLASH_BANK_1)) |
#define IS_FLASH_BANK | ( | BANK | ) | (((BANK) == FLASH_BANK_1)) |
Definition at line 116 of file stm32f1xx_hal_flash_ex.h.
#define IS_FLASH_TYPEERASE | ( | VALUE | ) | (((VALUE) == FLASH_TYPEERASE_PAGES) || ((VALUE) == FLASH_TYPEERASE_MASSERASE)) |
Definition at line 55 of file stm32f1xx_hal_flash_ex.h.
#define IS_OB_DATA_ADDRESS | ( | ADDRESS | ) | (((ADDRESS) == OB_DATA_ADDRESS_DATA0) || ((ADDRESS) == OB_DATA_ADDRESS_DATA1)) |
Definition at line 63 of file stm32f1xx_hal_flash_ex.h.
#define IS_OB_IWDG_SOURCE | ( | SOURCE | ) | (((SOURCE) == OB_IWDG_SW) || ((SOURCE) == OB_IWDG_HW)) |
Definition at line 65 of file stm32f1xx_hal_flash_ex.h.
#define IS_OB_RDP_LEVEL | ( | LEVEL | ) | (((LEVEL) == OB_RDP_LEVEL_0) || ((LEVEL) == OB_RDP_LEVEL_1)) |
Definition at line 61 of file stm32f1xx_hal_flash_ex.h.
#define IS_OB_STDBY_SOURCE | ( | SOURCE | ) | (((SOURCE) == OB_STDBY_NO_RST) || ((SOURCE) == OB_STDBY_RST)) |
Definition at line 69 of file stm32f1xx_hal_flash_ex.h.
#define IS_OB_STOP_SOURCE | ( | SOURCE | ) | (((SOURCE) == OB_STOP_NO_RST) || ((SOURCE) == OB_STOP_RST)) |
Definition at line 67 of file stm32f1xx_hal_flash_ex.h.
#define IS_OB_WRP | ( | PAGE | ) | (((PAGE) != 0x0000000U)) |
Definition at line 109 of file stm32f1xx_hal_flash_ex.h.
#define IS_OPTIONBYTE | ( | VALUE | ) | (((VALUE) <= (OPTIONBYTE_WRP | OPTIONBYTE_RDP | OPTIONBYTE_USER | OPTIONBYTE_DATA))) |
Definition at line 57 of file stm32f1xx_hal_flash_ex.h.
#define IS_WRPSTATE | ( | VALUE | ) | (((VALUE) == OB_WRPSTATE_DISABLE) || ((VALUE) == OB_WRPSTATE_ENABLE)) |
Definition at line 59 of file stm32f1xx_hal_flash_ex.h.