vscode_embedded/vscode_stm32f1_test/hal/STM32F10x_StdPeriph_Driver/src/stm32f10x_tim.c
/**
  * @brief  Gets the TIMx Counter value.
  * @param  TIMx: where x can be 1 to 17 to select the TIM peripheral.
  * @retval Counter Register value.
  */
@brief  Gets the TIMx Counter value.
@param  TIMx: where x can be 1 to 17 to select the TIM peripheral.
@retval Counter Register value.
@brief Gets the TIMx Counter value . @param TIMx : where x can be 1 to 17 to select the TIM peripheral . @retval Counter Register value .
uint16_t TIM_GetCounter(TIM_TypeDef* TIMx)
{
  assert_param(IS_TIM_ALL_PERIPH(TIMx));
  return TIMx->CNT;
}
uint16_t TIM_GetCounter ( TIM_TypeDef * TIMx ) { assert_param ( IS_TIM_ALL_PERIPH ( TIMx ) ) ; return TIMx -> CNT ; }
@brief  Gets the TIMx Counter value.
@brief Gets the TIMx Counter value .
/* Check the parameters */ /* Get the Counter Register value */