diff options
author | Keith Packard <keithp@keithp.com> | 2016-08-02 16:32:43 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2016-08-02 16:55:11 -0700 |
commit | 782013d0ff2c9f076952c0e172bfcb7016699d5f (patch) | |
tree | 913adc08db7bd7aebe97bf10828c4ef9de4c0dd0 /src/stmf0/stm32f0.h | |
parent | 99753673a4a97423300427e276bf550ae5353842 (diff) |
altos/stmf0: Hook up clock output support
This was used to try and not have two xtals on telemini, but failed
because the provided clock has too much noise.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stmf0/stm32f0.h')
-rw-r--r-- | src/stmf0/stm32f0.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stmf0/stm32f0.h b/src/stmf0/stm32f0.h index d528e492..054200e0 100644 --- a/src/stmf0/stm32f0.h +++ b/src/stmf0/stm32f0.h @@ -313,6 +313,15 @@ extern struct stm_rcc stm_rcc; #define STM_RCC_CFGR_MCO (24) # define STM_RCC_CFGR_MCO_DISABLE 0 +# define STM_RCC_CFGR_MCO_RC 1 +# define STM_RCC_CFGR_MCO_LSI 2 +# define STM_RCC_CFGR_MCO_LSE 3 +# define STM_RCC_CFGR_MCO_SYSCLK 4 +# define STM_RCC_CFGR_MCO_HSI 5 +# define STM_RCC_CFGR_MCO_HSE 6 +# define STM_RCC_CFGR_MCO_PLLCLK 7 +# define STM_RCC_CFGR_MCO_HSI48 8 +# define STM_RCC_CFGR_MCO_MASK (0xf) #define STM_RCC_CFGR_PLLMUL (18) #define STM_RCC_CFGR_PLLMUL_2 0 |