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 #490 background imageLoading...
Page #490 background image
General-purpose timers (TIM)
UM1581
490/584
DocID023800 Rev 1
22.2.13.8 TIM_SetIC1Prescaler
Function Name
void TIM_SetIC1Prescaler ( TIM_TypeDef * TIMx, uint16_t
TIM_ICPSC)
Function Description
Sets the TIMx Input Capture 1 prescaler.
Parameters
ï‚· TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17 to select the
TIM peripheral.
ï‚· TIM_ICPSC : specifies the Input Capture1 prescaler new
value. This parameter can be one of the following values:
 TIM_ICPSC_DIV1 : no prescaler
 TIM_ICPSC_DIV2 : capture is done once every 2
events
 TIM_ICPSC_DIV4 : capture is done once every 4
events
 TIM_ICPSC_DIV8 : capture is done once every 8
events
Return values
ï‚· None.
Notes
ï‚· None.
22.2.13.9 TIM_SetIC2Prescaler
Function Name
void TIM_SetIC2Prescaler ( TIM_TypeDef * TIMx, uint16_t
TIM_ICPSC)
Function Description
Sets the TIMx Input Capture 2 prescaler.
Parameters
ï‚· TIMx : where x can be 1, 2, 3, 4, 8 or 15 to select the TIM
peripheral.
ï‚· TIM_ICPSC : specifies the Input Capture2 prescaler new
value. This parameter can be one of the following values:
 TIM_ICPSC_DIV1 : no prescaler
 TIM_ICPSC_DIV2 : capture is done once every 2
events
 TIM_ICPSC_DIV4 : capture is done once every 4
events
 TIM_ICPSC_DIV8 : capture is done once every 8
events
Return values
ï‚· None.
Notes
ï‚· None.

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