|
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_ready_int_clear (enum rcc_osc osc) |
|
void | rcc_osc_ready_int_enable (enum rcc_osc osc) |
|
void | rcc_osc_ready_int_disable (enum rcc_osc osc) |
|
int | rcc_osc_ready_int_flag (enum rcc_osc osc) |
|
void | rcc_css_int_clear (void) |
|
int | rcc_css_int_flag (void) |
|
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_wait_for_sysclk_status (enum rcc_osc osc) |
|
void | rcc_osc_on (enum rcc_osc osc) |
|
void | rcc_osc_off (enum rcc_osc osc) |
|
void | rcc_css_enable (void) |
|
void | rcc_css_disable (void) |
|
void | rcc_set_sysclk_source (uint32_t clk) |
|
void | rcc_set_pll_source (uint32_t pllsrc) |
|
void | rcc_set_ppre2 (uint32_t ppre2) |
|
void | rcc_set_ppre1 (uint32_t ppre1) |
|
void | rcc_set_hpre (uint32_t hpre) |
|
void | rcc_set_main_pll (uint32_t pllsrc, uint32_t pllm, uint32_t plln, uint32_t pllp, uint32_t pllq, uint32_t pllr) |
| Reconfigures the main PLL for a HSE source. More...
|
|
uint32_t | rcc_system_clock_source (void) |
|
void | rcc_clock_setup_pll (const struct rcc_clock_scale *clock) |
| Setup clocks to run from PLL. More...
|
|
void | rcc_clock_setup_hse_3v3 (const struct rcc_clock_scale *clock) |
| Setup clocks with the HSE. More...
|
|
void | rcc_set_clock48_source (uint32_t clksel) |
| Set clock source for 48MHz clock. More...
|
|
static uint32_t | rcc_get_clksel_freq (uint8_t shift) |
|
uint32_t | rcc_get_usart_clk_freq (uint32_t usart) |
| Get the peripheral clock speed for the specified (LP)UxART. More...
|
|