/* Fills each TIM_ICInitStruct member with its default value.  */
void TIM_InitIcStruct(TIM_ICInitType *TIM_ICInitStruct)
/* Fills each TIM_ICInitStruct member with its default value.  */
void TIM_InitIcStruct(TIM_ICInitType *TIM_ICInitStruct)
{
    TIM_ICInitStruct->Channel     = TIM_CH_1;
    TIM_ICInitStruct->IcPolarity  = TIM_IC_POLARITY_RISING;
    TIM_ICInitStruct->IcSelection = TIM_IC_SELECTION_DIRECTTI;
    TIM_ICInitStruct->IcPrescaler = TIM_IC_PSC_DIV1;
    TIM_ICInitStruct->IcFilter    = 0x00;
}