General-purpose timers (TIM)
22.2.13.10 TIM_SetIC3Prescaler
void TIM_SetIC3Prescaler ( TIM_TypeDef * TIMx, uint16_t
TIM_ICPSC)
Sets the TIMx Input Capture 3 prescaler.
ï‚· TIMx : where x can be 1, 2, 3, 4 or 8 to select the TIM
peripheral.
ï‚· TIM_ICPSC : specifies the Input Capture3 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
22.2.13.11 TIM_SetIC4Prescaler
void TIM_SetIC4Prescaler ( TIM_TypeDef * TIMx, uint16_t
TIM_ICPSC)
Sets the TIMx Input Capture 4 prescaler.
ï‚· TIMx : where x can be 1, 2, 3, 4 or 8 to select the TIM
peripheral.
ï‚· TIM_ICPSC : specifies the Input Capture4 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