Browse Source

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.
pull/1064/head
Guillaume Revaillot 6 years ago
committed by Karl Palsson
parent
commit
f38c6f4f91
  1. 7
      lib/stm32/l0/rcc.c

7
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)
{

Loading…
Cancel
Save