libraries/mbed/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F103RB/stm32f10x_tim.c
/**
  * @brief  Gets the TIMx Input Capture 1 value.
  * @param  TIMx: where x can be 1 to 17 except 6 and 7 to select the TIM peripheral.
  * @retval Capture Compare 1 Register value.
  */
@brief  Gets the TIMx Input Capture 1 value.
@param  TIMx: where x can be 1 to 17 except 6 and 7 to select the TIM peripheral.
@retval Capture Compare 1 Register value.
@brief Gets the TIMx Input Capture 1 value . @param TIMx : where x can be 1 to 17 except 6 and 7 to select the TIM peripheral . @retval Capture Compare 1 Register value .
uint16_t TIM_GetCapture1(TIM_TypeDef* TIMx)
{
  assert_param(IS_TIM_LIST8_PERIPH(TIMx));
  return TIMx->CCR1;
}
uint16_t TIM_GetCapture1 ( TIM_TypeDef * TIMx ) { assert_param ( IS_TIM_LIST8_PERIPH ( TIMx ) ) ; return TIMx -> CCR1 ; }
@brief  Gets the TIMx Input Capture 1 value.
@brief Gets the TIMx Input Capture 1 value .
/* Check the parameters */ /* Get the Capture 1 Register value */