STM8L15x Standard Peripherals Drivers: TIM5_Internal_Trigger_Selection

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

TIM5_Internal_Trigger_Selection

Defines

#define IS_TIM5_TIX_TRIGGER_SELECTION(SELECTION)
#define IS_TIM5_TRIGGER_SELECTION(SELECTION)

Enumerations

enum  TIM5_TRGSelection_TypeDef {
  TIM5_TRGSelection_TIM4 = ((uint8_t)0x00), TIM5_TRGSelection_TIM1 = ((uint8_t)0x10), TIM5_TRGSelection_TIM3 = ((uint8_t)0x20), TIM5_TRGSelection_TIM2 = ((uint8_t)0x30),
  TIM5_TRGSelection_TI1F_ED = ((uint8_t)0x40), TIM5_TRGSelection_TI1FP1 = ((uint8_t)0x50), TIM5_TRGSelection_TI2FP2 = ((uint8_t)0x60), TIM5_TRGSelection_ETRF = ((uint8_t)0x70)
}

Define Documentation

#define IS_TIM5_TIX_TRIGGER_SELECTION (   SELECTION)
Value:
(((SELECTION) == TIM5_TRGSelection_TI1F_ED) || \
   ((SELECTION) == TIM5_TRGSelection_TI1FP1)  || \
   ((SELECTION) == TIM5_TRGSelection_TI2FP2))

Definition at line 424 of file stm8l15x_tim5.h.

#define IS_TIM5_TRIGGER_SELECTION (   SELECTION)
Value:
(((SELECTION) == TIM5_TRGSelection_TIM4) || \
   ((SELECTION) == TIM5_TRGSelection_TIM1) || \
   ((SELECTION) == TIM5_TRGSelection_TIM3) || \
   ((SELECTION) == TIM5_TRGSelection_TIM2) || \
   ((SELECTION) == TIM5_TRGSelection_TI1F_ED) || \
   ((SELECTION) == TIM5_TRGSelection_TI1FP1)  || \
   ((SELECTION) == TIM5_TRGSelection_TI2FP2)  || \
   ((SELECTION) == TIM5_TRGSelection_ETRF))

Definition at line 413 of file stm8l15x_tim5.h.

Referenced by TIM5_SelectInputTrigger().


Enumeration Type Documentation

Enumerator:
TIM5_TRGSelection_TIM4 

TRIG Input source = TIM TRIG Output

TIM5_TRGSelection_TIM1 

TRIG Input source = TIM TRIG Output

TIM5_TRGSelection_TIM3 

TRIG Input source = TIM TRIG Output

TIM5_TRGSelection_TIM2 

TRIG Input source = TIM TRIG Output

TIM5_TRGSelection_TI1F_ED 

TRIG Input source = TI1F_ED (TI1 Edge Detector)

TIM5_TRGSelection_TI1FP1 

TRIG Input source = TI1FP1 (Filtred Timer Input 1)

TIM5_TRGSelection_TI2FP2 

TRIG Input source = TI2FP2 (Filtred Timer Input 2)

TIM5_TRGSelection_ETRF 

TRIG Input source = ETRF (External Trigger Input )

Definition at line 401 of file stm8l15x_tim5.h.

STM8S Firmware Library: Overview

 

 

 

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