EasyManuals Logo

ST STM32F31xx User Manual

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
Page #502 background imageLoading...
Page #502 background image
General-purpose timers (TIM)
UM1581
502/584
DocID023800 Rev 1
22.2.16.2 TIM_ITRxExternalClockConfig
Function Name
void TIM_ITRxExternalClockConfig ( TIM_TypeDef * TIMx,
uint16_t TIM_InputTriggerSource)
Function Description
Configures the TIMx Internal Trigger as External Clock.
Parameters
ï‚· TIMx : where x can be 1, 2, 3, 4, 8 or 15 to select the TIM
peripheral.
ï‚· TIM_InputTriggerSource : 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
Return values
ï‚· None.
Notes
ï‚· None.
22.2.16.3 TIM_TIxExternalClockConfig
Function Name
void TIM_TIxExternalClockConfig ( TIM_TypeDef * TIMx,
uint16_t TIM_TIxExternalCLKSource, uint16_t TIM_ICPolarity,
uint16_t ICFilter)
Function Description
Configures the TIMx Trigger as External Clock.
Parameters
ï‚· TIMx : where x can be 1, 2, 3, 4, 8 or 15 to select the TIM
peripheral.
ï‚· TIM_TIxExternalCLKSource : Trigger source. This
parameter can be one of the following values:
 TIM_TIxExternalCLK1Source_TI1ED : TI1 Edge
Detector
 TIM_TIxExternalCLK1Source_TI1 : Filtered Timer
Input 1
 TIM_TIxExternalCLK1Source_TI2 : Filtered Timer
Input 2
ï‚· TIM_ICPolarity : specifies the TIx Polarity. This parameter
can be one of the following values:
 TIM_ICPolarity_Rising :
 TIM_ICPolarity_Falling :
ï‚· ICFilter : specifies the filter value. This parameter must be a

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals