*
* This macro calculates and assigns wait time based on the value of the
* timer and the timer resolution. Timer value of 0 signifies that the
*
* This macro calculates and assigns wait time based on the value of the
* timer and the timer resolution. Timer value of 0 signifies that the