From f38c6f4f918a8c273a1280432860ca4107360e2f Mon Sep 17 00:00:00 2001 From: Guillaume Revaillot Date: Mon, 8 Oct 2018 18:03:19 +0200 Subject: [PATCH] stm32l0: rcc: doc: fix rcc_clock_setup_pll brief. rcc_clock_setup_pll allows to use HSE or HSI as PLL source, comment is misleading. --- lib/stm32/l0/rcc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/stm32/l0/rcc.c b/lib/stm32/l0/rcc.c index a2a1b3c0..2429459d 100644 --- a/lib/stm32/l0/rcc.c +++ b/lib/stm32/l0/rcc.c @@ -496,9 +496,10 @@ void rcc_set_peripheral_clk_sel(uint32_t periph, uint32_t sel) RCC_CCIPR = reg32 | (sel << shift); } -/** - * Set up sysclock with PLL from HSI16 - * @param clock full struct with desired parameters +/** @brief RCC Setup PLL and use it as Sysclk source. + * + * @param[in] clock full struct with desired parameters + * */ void rcc_clock_setup_pll(const struct rcc_clock_scale *clock) {