EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
General-purpose timers (TIM)
UM1581
504/584
DocID023800 Rev 1
peripheral.
TIM_ExtTRGPrescaler : The external Trigger Prescaler.
This parameter can be one of the following values:
TIM_ExtTRGPSC_OFF : ETRP Prescaler OFF.
TIM_ExtTRGPSC_DIV2 : ETRP frequency divided by 2.
TIM_ExtTRGPSC_DIV4 : ETRP frequency divided by 4.
TIM_ExtTRGPSC_DIV8 : ETRP frequency divided by 8.
TIM_ExtTRGPolarity : The external Trigger Polarity. This
parameter can be one of the following values:
TIM_ExtTRGPolarity_Inverted : active low or falling
edge active.
TIM_ExtTRGPolarity_NonInverted : active high or
rising edge active.
ExtTRGFilter : External Trigger Filter. This parameter must
be a value between 0x00 and 0x0F
Return values
None.
Notes
None.
22.2.17 Synchronization management functions
22.2.17.1 TIM_SelectInputTrigger
Function Name
void TIM_SelectInputTrigger ( TIM_TypeDef * TIMx, uint16_t
TIM_InputTriggerSource)
Function Description
Selects the Input Trigger source.
Parameters
TIMx : where x can be 1, 2, 3, 4, 8 or 15 to select the TIM
peripheral.
TIM_InputTriggerSource : The Input Trigger source. This
parameter can be one of the following values:
TIM_TS_ITR0 : Internal Trigger 0
TIM_TS_ITR1 : Internal Trigger 1
TIM_TS_ITR2 : Internal Trigger 2
TIM_TS_ITR3 : Internal Trigger 3
TIM_TS_TI1F_ED : TI1 Edge Detector
TIM_TS_TI1FP1 : Filtered Timer Input 1
TIM_TS_TI2FP2 : Filtered Timer Input 2
TIM_TS_ETRF : External Trigger input
Return values
None.
Notes
None.

Table of Contents

Related product manuals