diff options
author | Sean Cross <sean@xobs.io> | 2018-05-11 00:58:03 +0300 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2019-06-03 01:23:44 +0300 |
commit | 065e0412ec934958d96da3fd3e6d6020bddcab22 (patch) | |
tree | cbdba0f95be5452804ad0102ed07df899e1b148d /include | |
parent | 53ce5aa3ddf17e588b245f0ab29e18073505684b (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/libopencm3/efm32/hg/cmu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libopencm3/efm32/hg/cmu.h b/include/libopencm3/efm32/hg/cmu.h index 5266af94..9a9265d3 100644 --- a/include/libopencm3/efm32/hg/cmu.h +++ b/include/libopencm3/efm32/hg/cmu.h @@ -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 ------------------------------------------------- */ |