|
static void | rcc_configure_pll (uint32_t clkin, const struct pll_config *config, int pll_num) |
|
static void | rcc_set_and_enable_plls (const struct rcc_pll_config *config) |
|
static uint16_t | rcc_prediv_log_skip32_div (uint16_t clk_mhz, uint32_t div_val) |
|
static uint16_t | rcc_prediv_3bit_log_div (uint16_t clk_mhz, uint32_t div_val) |
|
static void | rcc_clock_setup_domain1 (const struct rcc_pll_config *config) |
|
static void | rcc_clock_setup_domain2 (const struct rcc_pll_config *config) |
|
static void | rcc_clock_setup_domain3 (const struct rcc_pll_config *config) |
|
void | rcc_clock_setup_pll (const struct rcc_pll_config *config) |
| Setup the base PLLs and clock domains for the STM32H7. More...
|
|
uint32_t | rcc_get_bus_clk_freq (enum rcc_clock_source source) |
| Get the clock rate (in Hz) of the specified clock source. More...
|
|
uint32_t | rcc_get_usart_clk_freq (uint32_t usart) |
| Get the peripheral clock speed for the USART at base specified. More...
|
|
uint32_t | rcc_get_timer_clk_freq (uint32_t timer) |
| Get the peripheral clock speed for the Timer at base specified. More...
|
|
uint32_t | rcc_get_i2c_clk_freq (uint32_t i2c) |
| Get the peripheral clock speed for the I2C device at base specified. More...
|
|
uint32_t | rcc_get_spi_clk_freq (uint32_t spi) |
| Get the peripheral clock speed for the SPI device at base specified. More...
|
|
uint32_t | rcc_get_fdcan_clk_freq (uint32_t fdcan) |
| Get the peripheral clock speed for the FDCAN device at base specified. More...
|
|
void | rcc_set_peripheral_clk_sel (uint32_t periph, uint32_t sel) |
| Set the clksel value for the specified peripheral. More...
|
|
void | rcc_set_fdcan_clksel (uint8_t clksel) |
| Set the clock select for the FDCAN devices. More...
|
|
void | rcc_set_rng_clksel (uint8_t clksel) |
| Set the clock select for the RNG device. More...
|
|
void | rcc_set_spi123_clksel (uint8_t clksel) |
| Set the clock select for the SPI 1/2/3 devices. More...
|
|
void | rcc_set_spi45_clksel (uint8_t clksel) |
| Set the clock select for the SPI 4/5 devices. More...
|
|