stm32/f0: enable clocking from HSE crystal
The following four new functions enable clocking SoC from HSE crystal:
rcc_clock_setup_in_hse_8mhz_out_{8,16,32,48}mhz
These functions start HSE as external clock and feed its output to PLL
if higher frequency is needed.
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
-> Dropped 8,16,32Mhz functions as superfluous.
This commit is contained in:
committed by
Karl Palsson
parent
ef668edef6
commit
7cacbbfb8d
@@ -525,6 +525,7 @@ void rcc_set_hpre(uint32_t hpre);
|
||||
void rcc_set_prediv(uint32_t prediv);
|
||||
enum rcc_osc rcc_system_clock_source(void);
|
||||
enum rcc_osc rcc_usb_clock_source(void);
|
||||
void rcc_clock_setup_in_hse_8mhz_out_48mhz(void);
|
||||
void rcc_clock_setup_in_hsi_out_8mhz(void);
|
||||
void rcc_clock_setup_in_hsi_out_16mhz(void);
|
||||
void rcc_clock_setup_in_hsi_out_24mhz(void);
|
||||
|
||||
Reference in New Issue
Block a user