/* @params  usec - Number of 10s of microseconds to delay. */
void timer2_delay(uint32_t usec)
/* @params  usec - Number of 10s of microseconds to delay. */
void timer2_delay(uint32_t usec)
{
	universal_delay_flag = usec;
	NVIC_EnableIRQ(TMR2_EVT_IRQn);
	while(universal_delay_flag != 0);
	NVIC_DisableIRQ(TMR2_EVT_IRQn);
}