Platform/ECM3532/M3/hw/hal/common/timer/src/timer_hal.c
/**
 * Reads the absolute time from the specified continuous timer.
 *
 * @param iTmrCh timer channel
 *
 * @return uint32_t The timer counter register.
 */
Reads the absolute time from the specified continuous timer.
@param iTmrCh timer channel

@return uint32_t The timer counter register.
Reads the absolute time from the specified continuous timer . @param iTmrCh timer channel @return uint32_t The timer counter register .
uint32_t HalTmrRead(tHalTmrCh iTmrCh)
{
    const struct sDevTmr *sDev;
    sDev = TmrGetDev(iTmrCh);
    if (sDev == NULL) {
        return 0;
    }
    return ECM3531TimerCurrTicks(sDev);
}
uint32_t HalTmrRead ( tHalTmrCh iTmrCh ) { const struct sDevTmr * sDev ; sDev = TmrGetDev ( iTmrCh ) ; if ( sDev == NULL ) { return 0 ; } return ECM3531TimerCurrTicks ( sDev ) ; }
Reads the absolute time from the specified continuous timer.
Reads the absolute time from the specified continuous timer .