Synchronization Management Functions - ST STM32F31xx User Manual

Table of Contents

Advertisement

General-purpose timers (TIM)
Return values
Notes
22.2.17

Synchronization management functions

22.2.17.1 TIM_SelectInputTrigger
Function Name
Function Description
Parameters
Return values
Notes
504/584
peripheral.
TIM_ExtTRGPrescaler : The external Trigger Prescaler.
This parameter can be one of the following values:
TIM_ExtTRGPSC_OFF :
TIM_ExtTRGPSC_DIV2 :
TIM_ExtTRGPSC_DIV4 :
TIM_ExtTRGPSC_DIV8 :
TIM_ExtTRGPolarity : The external Trigger Polarity. This
parameter can be one of the following values:
TIM_ExtTRGPolarity_Inverted :
edge active.
TIM_ExtTRGPolarity_NonInverted :
rising edge active.
ExtTRGFilter : External Trigger Filter. This parameter must
be a value between 0x00 and 0x0F
None.
None.
void TIM_SelectInputTrigger (
TIM_InputTriggerSource)
Selects the Input Trigger source.
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 :
TIM_TS_ITR1 :
TIM_TS_ITR2 :
TIM_TS_ITR3 :
TIM_TS_TI1F_ED :
TIM_TS_TI1FP1 :
TIM_TS_TI2FP2 :
TIM_TS_ETRF :
None.
None.
DocID023800 Rev 1
ETRP Prescaler OFF.
ETRP frequency divided by 2.
ETRP frequency divided by 4.
ETRP frequency divided by 8.
active low or falling
TIM_TypeDef *
Internal Trigger 0
Internal Trigger 1
Internal Trigger 2
Internal Trigger 3
TI1 Edge Detector
Filtered Timer Input 1
Filtered Timer Input 2
External Trigger input
UM1581
active high or
TIMx, uint16_t

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F31xx and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f30xx

Table of Contents