/* Clear the stimer counter. 
This function clears the STimer Counter and leaves the stimer running. */
void am_hal_stimer_counter_clear(void)
/* Clear the stimer counter. 
This function clears the STimer Counter and leaves the stimer running. */
void am_hal_stimer_counter_clear(void)
{
    AM_REG(CTIMER, STCFG) |= AM_REG_CTIMER_STCFG_CLEAR_M;
    AM_REG(CTIMER, STCFG) &= ~AM_REG_CTIMER_STCFG_CLEAR_M;
}