emlib/src/em_cmu.c
static uint32_t dbgClkGet(void)
{
  uint32_t ret;
  CMU_Select_TypeDef clk;

  /* Get selected clock source */
  clk = CMU_ClockSelectGet(cmuClock_DBG);

  switch (clk) {
    case cmuSelect_HFCLK:
      ret = SystemHFClockGet();
      break;

    case cmuSelect_AUXHFRCO:
      ret = auxClkGet();
      break;

    default:
      EFM_ASSERT(0);
      ret = 0;
      break;
  }
  return ret;
}
/***************************************************************************/
/**
 * @brief
 *   Get the Debug Trace clock frequency
 *
 * @return
 *   Debug Trace frequency in Hz
 ******************************************************************************/
@brief
Get the Debug Trace clock frequency

@return
Debug Trace frequency in Hz
@brief Get the Debug Trace clock frequency @return Debug Trace frequency in Hz
static uint32_t dbgClkGet(void)
{
  uint32_t ret;
  CMU_Select_TypeDef clk;
  clk = CMU_ClockSelectGet(cmuClock_DBG);
  switch (clk) {
    case cmuSelect_HFCLK:
      ret = SystemHFClockGet();
      break;
    case cmuSelect_AUXHFRCO:
      ret = auxClkGet();
      break;
    default:
      EFM_ASSERT(0);
      ret = 0;
      break;
  }
  return ret;
}
static uint32_t dbgClkGet ( void ) { uint32_t ret ; CMU_Select_TypeDef clk ; clk = CMU_ClockSelectGet ( cmuClock_DBG ) ; switch ( clk ) { case cmuSelect_HFCLK : ret = SystemHFClockGet ( ) ; break ; case cmuSelect_AUXHFRCO : ret = auxClkGet ( ) ; break ; default : EFM_ASSERT ( 0 ) ; ret = 0 ; break ; } return ret ; }
@brief
   Get the Debug Trace clock frequency
@brief Get the Debug Trace clock frequency
/* Get selected clock source */