/* Deinitialize USTIMER driver. 
Will disable interrupts and turn off the clock to the underlying hardware timer. */
Ecode_t USTIMER_DeInit(void)
/* Deinitialize USTIMER driver. 
Will disable interrupts and turn off the clock to the underlying hardware timer. */
Ecode_t USTIMER_DeInit(void)
{
  NVIC_DisableIRQ( TIMER_IRQ );
  TIMER_IntDisable( TIMER, TIMER_IEN_CC0 );
  TIMER_IntClear( TIMER, TIMER_IFC_CC0 );
  NVIC_ClearPendingIRQ( TIMER_IRQ );
  TIMER_Enable( TIMER, false );
  CMU_ClockEnable( TIMER_CLK, false );
  return ECODE_EMDRV_USTIMER_OK;
}