STM8L15x Standard Peripherals Drivers: TIM5_Trigger_Output_Source

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

TIM5_Trigger_Output_Source

Defines

#define IS_TIM5_TRGO_SOURCE(SOURCE)

Enumerations

enum  TIM5_TRGOSource_TypeDef {
  TIM5_TRGOSource_Reset = ((uint8_t)0x00), TIM5_TRGOSource_Enable = ((uint8_t)0x10), TIM5_TRGOSource_Update = ((uint8_t)0x20), TIM5_TRGOSource_OC1 = ((uint8_t)0x30),
  TIM5_TRGOSource_OC1REF = ((uint8_t)0x40), TIM5_TRGOSource_OC2REF = ((uint8_t)0x50)
}

Define Documentation

#define IS_TIM5_TRGO_SOURCE (   SOURCE)
Value:
(((SOURCE) == TIM5_TRGOSource_Reset)  || \
   ((SOURCE) == TIM5_TRGOSource_Enable) || \
   ((SOURCE) == TIM5_TRGOSource_Update) || \
   ((SOURCE) == TIM5_TRGOSource_OC1)    || \
   ((SOURCE) == TIM5_TRGOSource_OC1REF) || \
   ((SOURCE) == TIM5_TRGOSource_OC2REF))

Definition at line 549 of file stm8l15x_tim5.h.

Referenced by TIM5_SelectOutputTrigger().


Enumeration Type Documentation

Enumerator:
TIM5_TRGOSource_Reset 

Trigger Output source = Reset

TIM5_TRGOSource_Enable 

Trigger Output source = TIM5 is enabled

TIM5_TRGOSource_Update 

Trigger Output source = Update event

TIM5_TRGOSource_OC1 

Trigger Output source = output compare channel1

TIM5_TRGOSource_OC1REF 

Trigger Output source = output compare channel 1 reference

TIM5_TRGOSource_OC2REF 

Trigger Output source = output compare channel 2 reference

Definition at line 539 of file stm8l15x_tim5.h.

STM8S Firmware Library: Overview

 

 

 

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