STM8L15x Standard Peripherals Drivers
|
Defines | |
#define | IS_TIM5_CLEAR_FLAG(FLAG) ((((FLAG) & (uint16_t)0xE100) == 0x0000) && ((FLAG) != 0x0000)) |
#define | IS_TIM5_GET_FLAG(FLAG) |
Enumerations | |
enum | TIM5_FLAG_TypeDef { TIM5_FLAG_Update = ((uint16_t)0x0001), TIM5_FLAG_CC1 = ((uint16_t)0x0002), TIM5_FLAG_CC2 = ((uint16_t)0x0004), TIM5_FLAG_Trigger = ((uint16_t)0x0040), TIM5_FLAG_Break = ((uint16_t)0x0080), TIM5_FLAG_CC1OF = ((uint16_t)0x0200), TIM5_FLAG_CC2OF = ((uint16_t)0x0400) } |
Define Documentation
#define IS_TIM5_CLEAR_FLAG | ( | FLAG | ) | ((((FLAG) & (uint16_t)0xE100) == 0x0000) && ((FLAG) != 0x0000)) |
Definition at line 603 of file stm8l15x_tim5.h.
Referenced by TIM5_ClearFlag().
#define IS_TIM5_GET_FLAG | ( | FLAG | ) |
Value:
(((FLAG) == TIM5_FLAG_Update) || \ ((FLAG) == TIM5_FLAG_CC1) || \ ((FLAG) == TIM5_FLAG_CC2) || \ ((FLAG) == TIM5_FLAG_Trigger) || \ ((FLAG) == TIM5_FLAG_Break) || \ ((FLAG) == TIM5_FLAG_CC1OF) || \ ((FLAG) == TIM5_FLAG_CC2OF))
Definition at line 594 of file stm8l15x_tim5.h.
Referenced by TIM5_GetFlagStatus().
Enumeration Type Documentation
enum TIM5_FLAG_TypeDef |
Definition at line 583 of file stm8l15x_tim5.h.