Module stm32wlxx_hal::rcc

source ·
Expand description

Reset and clocking control

Unlike other HALs clocks do not get frozen. A lot of applications for this chip will require low-power, and there are many scenarios where you will want to adjust the clocks.

Quickstart: set_sysclk_msi_max

Structs

  • Low-speed oscillator output pin.

Enums

Functions

  • Calculate the current CPU1 systick frequency in hertz
  • cpu2_systick_hzstm32wl5x_cm4 or stm32wl5x_cm0p
    Calculate the current CPU2 systick frequency in hertz
  • Calculate the current CPU systick frequency in hertz.
  • Enable the LSI clock with the currently configured pre-scaler and wait for completion.
  • Calculate the current hclk1 frequency in hertz
  • hclk2_hzstm32wl5x_cm4 or stm32wl5x_cm0p
    Calculate the current hclk2 frequency in hertz
  • Calculate the current hclk3 frequency in hertz
  • Calculate the LSI clock frequency in hertz.
  • Calculate the current PCLK1 frequency in hertz
  • Calculate the current PCLK2 frequency in hertz
  • Reset the backup domain.
  • Set the sysclk to use the HSE 32MHz clock.
  • Set the sysclk to use the HSI 16MHz clock.
  • Set the sysclk from an MSI range.
  • Set the sysclk to the MSI source at 48MHz.
  • Setup the LSI clock and wait for completion.
  • Calculate the current system clock frequency in hertz