emlib/src/em_cmu.c
static uint32_t CMU_USHFRCODevinfoGet(CMU_USHFRCOFreq_TypeDef freq)
{
  switch (freq) {
    case cmuUSHFRCOFreq_16M0Hz:
      return DEVINFO->USHFRCOCAL7;

    case cmuUSHFRCOFreq_32M0Hz:
      return DEVINFO->USHFRCOCAL11;

    case cmuUSHFRCOFreq_48M0Hz:
      return DEVINFO->USHFRCOCAL13;

    case cmuUSHFRCOFreq_50M0Hz:
      return DEVINFO->USHFRCOCAL14;

    default: /* cmuUSHFRCOFreq_UserDefined */
      return 0;
  }
}
/**************************************************************************/
/**
 * @brief
 *   Get the USHFRCO frequency calibration word in DEVINFO
 *
 * @param[in] freq
 *   Frequency in Hz
 *
 * @return
 *   USHFRCO calibration word for a given frequency
 *****************************************************************************/
@brief
Get the USHFRCO frequency calibration word in DEVINFO

@param[in] freq
Frequency in Hz

@return
USHFRCO calibration word for a given frequency
@brief Get the USHFRCO frequency calibration word in DEVINFO @param [ in ] freq Frequency in Hz @return USHFRCO calibration word for a given frequency
static uint32_t CMU_USHFRCODevinfoGet(CMU_USHFRCOFreq_TypeDef freq)
{
  switch (freq) {
    case cmuUSHFRCOFreq_16M0Hz:
      return DEVINFO->USHFRCOCAL7;
    case cmuUSHFRCOFreq_32M0Hz:
      return DEVINFO->USHFRCOCAL11;
    case cmuUSHFRCOFreq_48M0Hz:
      return DEVINFO->USHFRCOCAL13;
    case cmuUSHFRCOFreq_50M0Hz:
      return DEVINFO->USHFRCOCAL14;
    default: 
      return 0;
  }
}
static uint32_t CMU_USHFRCODevinfoGet ( CMU_USHFRCOFreq_TypeDef freq ) { switch ( freq ) { case cmuUSHFRCOFreq_16M0Hz : return DEVINFO -> USHFRCOCAL7 ; case cmuUSHFRCOFreq_32M0Hz : return DEVINFO -> USHFRCOCAL11 ; case cmuUSHFRCOFreq_48M0Hz : return DEVINFO -> USHFRCOCAL13 ; case cmuUSHFRCOFreq_50M0Hz : return DEVINFO -> USHFRCOCAL14 ; default : return 0 ; } }
@brief
   Get the USHFRCO frequency calibration word in DEVINFO
@brief Get the USHFRCO frequency calibration word in DEVINFO
/* cmuUSHFRCOFreq_UserDefined */