/* Get difference between two tick counts. 
Subtract two counts and truncate to correct HW dependent counter bit width */
uint32_t ticker_ticks_diff_get(uint32_t ticks_now, uint32_t ticks_old)
/* Get difference between two tick counts. 
Subtract two counts and truncate to correct HW dependent counter bit width */
uint32_t ticker_ticks_diff_get(uint32_t ticks_now, uint32_t ticks_old)
{
	return ((ticks_now - ticks_old) & HAL_TICKER_CNTR_MASK);
}