Searched refs:voteTwo (Results 1 – 1 of 1) sorted by relevance
387 uint_fast16_t voteOne, voteTwo, res; in Timer_A_getCounterValue() local389 voteTwo = TIMER_A_CMSIS(timer)->R; in Timer_A_getCounterValue()393 voteOne = voteTwo; in Timer_A_getCounterValue()394 voteTwo = TIMER_A_CMSIS(timer)->R; in Timer_A_getCounterValue()396 if (voteTwo > voteOne) in Timer_A_getCounterValue()397 res = voteTwo - voteOne; in Timer_A_getCounterValue()398 else if (voteOne > voteTwo) in Timer_A_getCounterValue()399 res = voteOne - voteTwo; in Timer_A_getCounterValue()405 return voteTwo; in Timer_A_getCounterValue()