STM8L15x Standard Peripherals Drivers: TIM5_External_Trigger_Prescaler

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

TIM5_External_Trigger_Prescaler

Defines

#define IS_TIM5_EXT_PRESCALER(PRESCALER)

Enumerations

enum  TIM5_ExtTRGPSC_TypeDef { TIM5_ExtTRGPSC_OFF = ((uint8_t)0x00), TIM5_ExtTRGPSC_DIV2 = ((uint8_t)0x10), TIM5_ExtTRGPSC_DIV4 = ((uint8_t)0x20), TIM5_ExtTRGPSC_DIV8 = ((uint8_t)0x30) }

Define Documentation

#define IS_TIM5_EXT_PRESCALER (   PRESCALER)
Value:
(((PRESCALER) == TIM5_ExtTRGPSC_OFF)  || \
   ((PRESCALER) == TIM5_ExtTRGPSC_DIV2) || \
   ((PRESCALER) == TIM5_ExtTRGPSC_DIV4) || \
   ((PRESCALER) == TIM5_ExtTRGPSC_DIV8))

Definition at line 389 of file stm8l15x_tim5.h.

Referenced by TIM5_ETRConfig().


Enumeration Type Documentation

Enumerator:
TIM5_ExtTRGPSC_OFF 

No External Trigger prescaler

TIM5_ExtTRGPSC_DIV2 

External Trigger prescaler = 2 (ETRP frequency divided by 2)

TIM5_ExtTRGPSC_DIV4 

External Trigger prescaler = 4 (ETRP frequency divided by 4)

TIM5_ExtTRGPSC_DIV8 

External Trigger prescaler = 8 (ETRP frequency divided by 8)

Definition at line 381 of file stm8l15x_tim5.h.

STM8S Firmware Library: Overview

 

 

 

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