STM8L15x Standard Peripherals Drivers: TIM5_Flags

STM8L15x/16x Standard Peripherals Drivers

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

Enumerator:
TIM5_FLAG_Update 

Update Flag

TIM5_FLAG_CC1 

Capture compare 1 Flag

TIM5_FLAG_CC2 

Capture compare 2 Flag

TIM5_FLAG_Trigger 

Trigger Flag

TIM5_FLAG_Break 

Break Flag

TIM5_FLAG_CC1OF 

Capture compare 1 over capture Flag

TIM5_FLAG_CC2OF 

Capture compare 2 over capture Flag

Definition at line 583 of file stm8l15x_tim5.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com