/* Fills each init_struct member with its default value.  */
void TIM_ICStructInit(TIM_ICInitTypeDef *init_struct)
/* Fills each init_struct member with its default value.  */
void TIM_ICStructInit(TIM_ICInitTypeDef *init_struct)
{
    init_struct->TIM_Channel     = TIM_Channel_1;
    init_struct->TIM_ICPolarity  = TIM_ICPolarity_Rising;
    init_struct->TIM_ICSelection = TIM_ICSelection_DirectTI;
    init_struct->TIM_ICPrescaler = TIM_ICPSC_DIV1;
    init_struct->TIM_ICFilter    = 0x00;
}