From 9fd3064cb298124517f2ed1517365175e2c0e6be Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 22 Jul 2009 03:25:14 +0200 Subject: Add more RCC related API functions and their prototypes. This includes: - rcc_set_sysclk_source() - rcc_set_pll_multiplication_factor() - rcc_set_pll_source() - rcc_set_pllxtpre() --- include/libopenstm32/rcc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/libopenstm32/rcc.h') diff --git a/include/libopenstm32/rcc.h b/include/libopenstm32/rcc.h index 7ba4108..0c544c6 100644 --- a/include/libopenstm32/rcc.h +++ b/include/libopenstm32/rcc.h @@ -378,5 +378,9 @@ void rcc_osc_bypass_enable(osc_t osc); void rcc_osc_bypass_disable(osc_t osc); void rcc_enable_peripheral_clock(volatile u32 *reg, u32 peripheral_en); void rcc_disable_peripheral_clock(volatile u32 *reg, u32 peripheral_en); +void rcc_set_sysclk_source(u32 clk); +void rcc_set_pll_multiplication_factor(u32 mul); +void rcc_set_pll_source(u32 pllsrc); +void rcc_set_pllxtpre(u32 pllxtpre); #endif -- cgit v1.2.3