diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-18 09:26:56 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-18 09:26:56 -0600 |
commit | 426c44457eab513ddec2ec13833c244c79ea2abe (patch) | |
tree | 0303ab987faa0327116d4ff02ccfd5e682b05fb3 /nuttx/configs/efm32-g8xx-stk | |
parent | 68507dbe620a2fbf491ea9b838b67819ab18fcbe (diff) | |
download | px4-nuttx-426c44457eab513ddec2ec13833c244c79ea2abe.tar.gz px4-nuttx-426c44457eab513ddec2ec13833c244c79ea2abe.tar.bz2 px4-nuttx-426c44457eab513ddec2ec13833c244c79ea2abe.zip |
Add EFM32 CMU header file
Diffstat (limited to 'nuttx/configs/efm32-g8xx-stk')
-rw-r--r-- | nuttx/configs/efm32-g8xx-stk/include/board.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nuttx/configs/efm32-g8xx-stk/include/board.h b/nuttx/configs/efm32-g8xx-stk/include/board.h index eb2bb574f..a3d2f7838 100644 --- a/nuttx/configs/efm32-g8xx-stk/include/board.h +++ b/nuttx/configs/efm32-g8xx-stk/include/board.h @@ -47,6 +47,21 @@ /**************************************************************************** * Pre-Processor Definitions ****************************************************************************/ +/* Clocking *****************************************************************/ +/* Clock Sources + * - 1-28 MHz High Frequency RC Oscillator (HFRCO) + * - 4-32 MHz High Frequency Crystal Oscillator (HFXO) + * - 32.768 kHz Low Frequency RC Oscillator (LFRCO) + * - 32.768 kHz Low Frequency Crystal Oscillator (LFXO) + * + * The device boots with 14 MHz HFRCO as the HFCLK source. + */ + +#define BOARD_HFRCO_FREQUENCY 14000000 /* 14MHz on reset */ +#define BOARD_HFXO_FREQUENCY 32000000 /* 32MHz crystal on board */ +#define BOARD_LFRCO_FREQUENCY 32768 /* Low frequency oscillator */ +#define BOARD_LFXO_FREQUENCY 32768 /* 32MHz crystal on board */ + /* The EFM32 Gecko Starter Kit supports 4 yellow LEDs. One side is grounded * so these LEDs are illuminated by outputting a high value. * |