vscode_embedded/vscode_stm32f1_test/hal/STM32F10x_StdPeriph_Driver/src/stm32f10x_tim.c
/**
  * @brief  Fills each TIM_OCInitStruct member with its default value.
  * @param  TIM_OCInitStruct : pointer to a TIM_OCInitTypeDef structure which will
  *         be initialized.
  * @retval None
  */
@brief  Fills each TIM_OCInitStruct member with its default value.
@param  TIM_OCInitStruct : pointer to a TIM_OCInitTypeDef structure which will
be initialized.
@retval None
@brief Fills each TIM_OCInitStruct member with its default value . @param TIM_OCInitStruct : pointer to a TIM_OCInitTypeDef structure which will be initialized . @retval None
void TIM_OCStructInit(TIM_OCInitTypeDef* TIM_OCInitStruct)
{
  TIM_OCInitStruct->TIM_OCMode = TIM_OCMode_Timing;
  TIM_OCInitStruct->TIM_OutputState = TIM_OutputState_Disable;
  TIM_OCInitStruct->TIM_OutputNState = TIM_OutputNState_Disable;
  TIM_OCInitStruct->TIM_Pulse = 0x0000;
  TIM_OCInitStruct->TIM_OCPolarity = TIM_OCPolarity_High;
  TIM_OCInitStruct->TIM_OCNPolarity = TIM_OCPolarity_High;
  TIM_OCInitStruct->TIM_OCIdleState = TIM_OCIdleState_Reset;
  TIM_OCInitStruct->TIM_OCNIdleState = TIM_OCNIdleState_Reset;
}
void TIM_OCStructInit ( TIM_OCInitTypeDef * TIM_OCInitStruct ) { TIM_OCInitStruct -> TIM_OCMode = TIM_OCMode_Timing ; TIM_OCInitStruct -> TIM_OutputState = TIM_OutputState_Disable ; TIM_OCInitStruct -> TIM_OutputNState = TIM_OutputNState_Disable ; TIM_OCInitStruct -> TIM_Pulse = 0x0000 ; TIM_OCInitStruct -> TIM_OCPolarity = TIM_OCPolarity_High ; TIM_OCInitStruct -> TIM_OCNPolarity = TIM_OCPolarity_High ; TIM_OCInitStruct -> TIM_OCIdleState = TIM_OCIdleState_Reset ; TIM_OCInitStruct -> TIM_OCNIdleState = TIM_OCNIdleState_Reset ; }
@brief  Fills each TIM_OCInitStruct member with its default value.
@brief Fills each TIM_OCInitStruct member with its default value .
/* Set the default configuration */