|
void | rcc_peripheral_enable_clock (volatile uint32_t *reg, uint32_t en) |
| RCC Enable Peripheral Clocks. More...
|
|
void | rcc_peripheral_disable_clock (volatile uint32_t *reg, uint32_t en) |
| RCC Disable Peripheral Clocks. More...
|
|
void | rcc_peripheral_reset (volatile uint32_t *reg, uint32_t reset) |
| RCC Reset Peripherals. More...
|
|
void | rcc_peripheral_clear_reset (volatile uint32_t *reg, uint32_t clear_reset) |
| RCC Remove Reset on Peripherals. More...
|
|
void | rcc_periph_clock_enable (enum rcc_periph_clken clken) |
| Enable Peripheral Clock in running mode. More...
|
|
void | rcc_periph_clock_disable (enum rcc_periph_clken clken) |
| Disable Peripheral Clock in running mode. More...
|
|
void | rcc_periph_reset_pulse (enum rcc_periph_rst rst) |
| Reset Peripheral, pulsed. More...
|
|
void | rcc_periph_reset_hold (enum rcc_periph_rst rst) |
| Reset Peripheral, hold. More...
|
|
void | rcc_periph_reset_release (enum rcc_periph_rst rst) |
| Reset Peripheral, release. More...
|
|
void | rcc_set_mco (uint32_t mcosrc) |
| Select the source of Microcontroller Clock Output. More...
|
|
void | rcc_osc_bypass_enable (enum rcc_osc osc) |
| RCC Enable Bypass. More...
|
|
void | rcc_osc_bypass_disable (enum rcc_osc osc) |
| RCC Disable Bypass. More...
|
|
uint16_t | rcc_get_div_from_hpre (uint8_t div_val) |
| This will return the divisor 1/2/4/8/16/64/128/256/512 which is set as a 4-bit value, typically used for hpre and other prescalers. More...
|
|
void | rcc_osc_on (enum rcc_osc osc) |
|
void | rcc_osc_off (enum rcc_osc osc) |
|
void | rcc_osc_ready_int_clear (enum rcc_osc osc) |
| RCC Clear the Oscillator Ready Interrupt Flag. More...
|
|
void | rcc_osc_ready_int_enable (enum rcc_osc osc) |
| RCC Enable the Oscillator Ready Interrupt. More...
|
|
void | rcc_osc_ready_int_disable (enum rcc_osc osc) |
| RCC Disable the Oscillator Ready Interrupt. More...
|
|
int | rcc_osc_ready_int_flag (enum rcc_osc osc) |
| RCC Read the Oscillator Ready Interrupt Flag. More...
|
|
bool | rcc_is_osc_ready (enum rcc_osc osc) |
| Is the given oscillator ready? More...
|
|
void | rcc_wait_for_osc_ready (enum rcc_osc osc) |
| Wait for Oscillator Ready. More...
|
|
void | rcc_set_hsi48_source_rc48 (void) |
| RCC Set HSI48 clock source to the RC48 (CRS) More...
|
|
void | rcc_set_hsi48_source_pll (void) |
| RCC Set HSI48 clock source to the PLL. More...
|
|
void | rcc_set_sysclk_source (enum rcc_osc osc) |
| RCC Set the Source for the System Clock. More...
|
|
void | rcc_set_pll_multiplier (uint32_t factor) |
| RCC Set the PLL Multiplication Factor. More...
|
|
void | rcc_set_pll_divider (uint32_t factor) |
| RCC Set the PLL Division Factor. More...
|
|
void | rcc_set_pll_source (uint32_t pllsrc) |
| Set the pll source. More...
|
|
void | rcc_set_ppre1 (uint32_t ppre) |
| RCC Set the APB1 Prescale Factor. More...
|
|
void | rcc_set_ppre2 (uint32_t ppre) |
| RCC Set the APB2 Prescale Factor. More...
|
|
void | rcc_set_hpre (uint32_t hpre) |
| RCC Set the AHB Prescale Factor. More...
|
|
void | rcc_set_msi_range (uint32_t msi_range) |
| Set the range of the MSI oscillator. More...
|
|
void | rcc_set_lptim1_sel (uint32_t lptim1_sel) |
| Set the LPTIM1 clock source. More...
|
|
void | rcc_set_lpuart1_sel (uint32_t lpuart1_sel) |
| Set the LPUART1 clock source. More...
|
|
void | rcc_set_usart1_sel (uint32_t usart1_sel) |
| Set the USART1 clock source. More...
|
|
void | rcc_set_usart2_sel (uint32_t usart2_sel) |
| Set the USART2 clock source. More...
|
|
void | rcc_set_peripheral_clk_sel (uint32_t periph, uint32_t sel) |
| Set the peripheral clock source. More...
|
|
static uint32_t | rcc_uart_i2c_clksel_freq_hz (uint32_t apb_clk, uint8_t shift) |
|
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...
|
|
void | rcc_clock_setup_pll (const struct rcc_clock_scale *clock) |
| RCC Setup PLL and use it as Sysclk source. More...
|
|