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
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

Related product manuals