/* Select The Timer counter capture detect edge. This function is to select The Timer counter capture detect edge.  */
void xTimerCaptureEdgeSelect(unsigned long ulBase, unsigned long ulChannel, unsigned long ulEdge)
/* Select The Timer counter capture detect edge. This function is to select The Timer counter capture detect edge.  */
void xTimerCaptureEdgeSelect(unsigned long ulBase, unsigned long ulChannel, unsigned long ulEdge)
{
    (void) ulChannel;
    xASSERT((ulBase == TIMER0_BASE) || (ulBase == TIMER1_BASE) ||
            (ulBase == TIMER2_BASE) || (ulBase == TIMER3_BASE) );
    xASSERT(ulChannel == xTIMER_CHANNEL1);
    if (ulEdge != 0)
    {
        TimerCaptureCfg(ulBase, TIMER_CAP_CH_0, ulEdge);
    }
}