/* Initialize the IC timer with its default value.  */
void TMR_ConfigICStructInit(TMR_ICConfig_T *ICConfig)
/* Initialize the IC timer with its default value.  */
void TMR_ConfigICStructInit(TMR_ICConfig_T *ICConfig)
{
    ICConfig->channel = TMR_CHANNEL_1;
    ICConfig->polarity = TMR_IC_POLARITY_RISING;
    ICConfig->selection = TMR_IC_SELECTION_DIRECT_TI;
    ICConfig->prescaler = TMR_IC_PSC_1;
    ICConfig->filter = 0x00;
}