Browse Source

stm32f4: rcc: remove unnecessary pllsai functions

existing standard functions for these are
 * rcc_osc_on(RCC_PLLSAI);
 * rcc_is_osc_ready(RCC_PLLSAI);
pull/1109/head
Jonathan Halmen 5 years ago
committed by Karl Palsson
parent
commit
203d0ca295
  1. 12
      include/libopencm3/stm32/f4/rcc.h

12
include/libopencm3/stm32/f4/rcc.h

@ -756,18 +756,6 @@
#define RCC_CKGATENR_AHB2APB1_CKEN (1<<0)
/*@}*/
/* PLLSAI1 helper macros */
static inline void rcc_pllsai_enable(void)
{
RCC_CR |= RCC_CR_PLLSAION;
}
static inline bool rcc_pllsai_ready(void)
{
return (RCC_CR & RCC_CR_PLLSAIRDY) != 0;
}
/* --- Variable definitions ------------------------------------------------ */
extern uint32_t rcc_ahb_frequency;
extern uint32_t rcc_apb1_frequency;

Loading…
Cancel
Save