efm32hg: cmu: add USHFRCODIV2 clock definition

This clock is the USB High Frequency PLL that gets trimmed based
on clock recovery.  It is the most accurate PLL on the system,
assuming it is connected via USB.

Add the definition of this clock in preparation for being able
to switch to it.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2018-05-10 14:58:03 -07:00 committed by Karl Palsson
parent 53ce5aa3dd
commit 065e0412ec

View File

@ -352,6 +352,7 @@
#define CMU_CMD_HFCLKSEL_HFXO CMU_CMD_HFCLKSEL(2)
#define CMU_CMD_HFCLKSEL_LFRCO CMU_CMD_HFCLKSEL(3)
#define CMU_CMD_HFCLKSEL_LFXO CMU_CMD_HFCLKSEL(4)
#define CMU_CMD_HFCLKSEL_USHFRCODIV2 CMU_CMD_HFCLKSEL(5)
/* CMU_LFCLKSEL */
/* Bits 31:21 - Reserved */
@ -633,6 +634,7 @@ enum cmu_osc {
LFXO, /**< External, 32.768kHz */
AUXHFRCO, /**< Internal, 1-28Mhz */
USHFRCO, /**< Internal, 48MHz */
USHFRCODIV2, /**< Internal, 24MHz */
};
/* --- Function prototypes ------------------------------------------------- */