/* Configures a periodic timer to generate timer interrupt just once after certain time interval. 
This function initializes a periodic timer to generate a single ticks after certain time interval in millisecond */
tmrHw_INTERVAL_t tmrHw_setOneshotTimerInterval(tmrHw_ID_t timerId, tmrHw_INTERVAL_t msec)
/* Configures a periodic timer to generate timer interrupt just once after certain time interval. 
This function initializes a periodic timer to generate a single ticks after certain time interval in millisecond */
tmrHw_INTERVAL_t tmrHw_setOneshotTimerInterval(tmrHw_ID_t timerId, tmrHw_INTERVAL_t msec)
{
	ResetTimer(timerId);
	pTmrHw[timerId].Control |= tmrHw_CONTROL_PERIODIC;
	pTmrHw[timerId].Control |= tmrHw_CONTROL_ONESHOT;
	return SetTimerPeriod(timerId, msec);
}