AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/ports/xplained/timer1.c
uint32_t timer_milliseconds(void)
{
    uint32_t timer_value; /* return value */

    tc_set_overflow_interrupt_level(&MY_TIMER, TC_INT_LVL_OFF);
    timer_value = Millisecond_Counter;
    tc_set_overflow_interrupt_level(&MY_TIMER, TC_INT_LVL_LO);

    return timer_value;
}
/**
 * Returns the continuous milliseconds count, which rolls over
 *
 * @return the current milliseconds count
 */
Returns the continuous milliseconds count, which rolls over
@return the current milliseconds count
Returns the continuous milliseconds count which rolls over @return the current milliseconds count
uint32_t timer_milliseconds(void)
{
    uint32_t timer_value; 
    tc_set_overflow_interrupt_level(&MY_TIMER, TC_INT_LVL_OFF);
    timer_value = Millisecond_Counter;
    tc_set_overflow_interrupt_level(&MY_TIMER, TC_INT_LVL_LO);
    return timer_value;
}
uint32_t timer_milliseconds ( void ) { uint32_t timer_value ; tc_set_overflow_interrupt_level ( & MY_TIMER , TC_INT_LVL_OFF ) ; timer_value = Millisecond_Counter ; tc_set_overflow_interrupt_level ( & MY_TIMER , TC_INT_LVL_LO ) ; return timer_value ; }
Returns the continuous milliseconds count, which rolls over
 @return the current milliseconds count
Returns the continuous milliseconds count which rolls over @return the current milliseconds count
/* return value */