crazyflie-firmware/src/lib/STM32F10x_StdPeriph_Driver/src/stm32f10x_tim.c
/**
  * @brief  Fills each TIM_TimeBaseInitStruct member with its default value.
  * @param  TIM_TimeBaseInitStruct : pointer to a TIM_TimeBaseInitTypeDef
  *   structure which will be initialized.
  * @retval None
  */
@brief  Fills each TIM_TimeBaseInitStruct member with its default value.
@param  TIM_TimeBaseInitStruct : pointer to a TIM_TimeBaseInitTypeDef
structure which will be initialized.
@retval None
@brief Fills each TIM_TimeBaseInitStruct member with its default value . @param TIM_TimeBaseInitStruct : pointer to a TIM_TimeBaseInitTypeDef structure which will be initialized . @retval None
void TIM_TimeBaseStructInit(TIM_TimeBaseInitTypeDef* TIM_TimeBaseInitStruct)
{
  TIM_TimeBaseInitStruct->TIM_Period = 0xFFFF;
  TIM_TimeBaseInitStruct->TIM_Prescaler = 0x0000;
  TIM_TimeBaseInitStruct->TIM_ClockDivision = TIM_CKD_DIV1;
  TIM_TimeBaseInitStruct->TIM_CounterMode = TIM_CounterMode_Up;
  TIM_TimeBaseInitStruct->TIM_RepetitionCounter = 0x0000;
}
void TIM_TimeBaseStructInit ( TIM_TimeBaseInitTypeDef * TIM_TimeBaseInitStruct ) { TIM_TimeBaseInitStruct -> TIM_Period = 0xFFFF ; TIM_TimeBaseInitStruct -> TIM_Prescaler = 0x0000 ; TIM_TimeBaseInitStruct -> TIM_ClockDivision = TIM_CKD_DIV1 ; TIM_TimeBaseInitStruct -> TIM_CounterMode = TIM_CounterMode_Up ; TIM_TimeBaseInitStruct -> TIM_RepetitionCounter = 0x0000 ; }
@brief  Fills each TIM_TimeBaseInitStruct member with its default value.
@brief Fills each TIM_TimeBaseInitStruct member with its default value .
/* Set the default configuration */