libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_tim.c
void TIM_SetIC1Prescaler(TIM_TypeDef* TIMx, uint16_t TIM_ICPSC)
{
  /* Check the parameters */
  assert_param(IS_TIM_LIST8_PERIPH(TIMx));
  assert_param(IS_TIM_IC_PRESCALER(TIM_ICPSC));
  /* Reset the IC1PSC Bits */
  TIMx->CCMR1 &= (uint16_t)~((uint16_t)TIM_CCMR1_IC1PSC);
  /* Set the IC1PSC value */
  TIMx->CCMR1 |= TIM_ICPSC;
}
/**
  * @brief  Sets the TIMx Input Capture 1 prescaler.
  * @param  TIMx: where x can be 1 to 17 except 6 and 7 to select the TIM peripheral.
  * @param  TIM_ICPSC: specifies the Input Capture1 prescaler new value.
  *   This parameter can be one of the following values:
  *     @arg TIM_ICPSC_DIV1: no prescaler
  *     @arg TIM_ICPSC_DIV2: capture is done once every 2 events
  *     @arg TIM_ICPSC_DIV4: capture is done once every 4 events
  *     @arg TIM_ICPSC_DIV8: capture is done once every 8 events
  * @retval None
  */
@brief  Sets the TIMx Input Capture 1 prescaler.
@param  TIMx: where x can be 1 to 17 except 6 and 7 to select the TIM peripheral.
@param  TIM_ICPSC: specifies the Input Capture1 prescaler new value.
@brief Sets the TIMx Input Capture 1 prescaler . @param TIMx : where x can be 1 to 17 except 6 and 7 to select the TIM peripheral . @param TIM_ICPSC : specifies the Input Capture1 prescaler new value .
void TIM_SetIC1Prescaler(TIM_TypeDef* TIMx, uint16_t TIM_ICPSC)
{
  assert_param(IS_TIM_LIST8_PERIPH(TIMx));
  assert_param(IS_TIM_IC_PRESCALER(TIM_ICPSC));
  TIMx->CCMR1 &= (uint16_t)~((uint16_t)TIM_CCMR1_IC1PSC);
  TIMx->CCMR1 |= TIM_ICPSC;
}
void TIM_SetIC1Prescaler ( TIM_TypeDef * TIMx , uint16_t TIM_ICPSC ) { assert_param ( IS_TIM_LIST8_PERIPH ( TIMx ) ) ; assert_param ( IS_TIM_IC_PRESCALER ( TIM_ICPSC ) ) ; TIMx -> CCMR1 &= ( uint16_t ) ~ ( ( uint16_t ) TIM_CCMR1_IC1PSC ) ; TIMx -> CCMR1 |= TIM_ICPSC ; }
@brief  Sets the TIMx Input Capture 1 prescaler.
@brief Sets the TIMx Input Capture 1 prescaler .
/* Check the parameters */ /* Reset the IC1PSC Bits */ /* Set the IC1PSC value */