Expand description
Reset and Clock Control (RCC)
Modules§
Structs§
- Clocks
- Config
- Configuration of the core clocks
- Hse
- Hsi
- HsiCalibration
- IcConfig
- Configuration for an internal clock (IC) divider.
- LsConfig
- LseConfig
- Mco
- McoConfig
- Msi
- Wake
Guard
Enums§
- AhbPrescaler
- ApbPrescaler
- CpuClk
- HseMode
- HsiPrescaler
- Icint
- Icsel
- LseDrive
- LseMode
- Mco1
Source - Mco2
Source - McoPrescaler
- Pll
- Plldivm
- Pllpdiv
- Pllsel
- RtcClock
Source - Supply
Config - SysClk
- Voltage
Scale - Xspi
ClkSrc
Constants§
Traits§
- McoInstance
- McoPin
- McoPin pin trait
- RccPeripheral
Functions§
- clocks
- Get the current clock configuration of the chip.
- disable
- Disables peripheral
T. - disable_
with_ cs - Disables peripheral
T. - enable_
and_ reset - Enables and resets peripheral
T. - enable_
and_ reset_ with_ cs - Enables and resets peripheral
T. - enable_
with_ cs - Enables and clears the reset for peripheral
T. - frequency
- Get the kernel clock frequency of the peripheral
T. - promote_
gpdma1_ all - Promote all 16 GPDMA1 channels at once.
- promote_
gpdma1_ all_ cid - Set CID=1 + filtering on all 16 GPDMA1 channels.
- promote_
gpdma1_ channel - Promote a single GPDMA1 channel to secure + privileged.
- promote_
gpdma1_ channel_ cid - Set GPDMA1 channel
channel’s CID to 1 with filtering enabled. - promote_
hpdma1_ all - Promote all 16 HPDMA1 channels at once.
- promote_
hpdma1_ all_ cid - Set CID=1 + filtering on all 16 HPDMA1 channels.
- promote_
hpdma1_ channel - Promote a single HPDMA1 channel to secure + privileged.
- promote_
hpdma1_ channel_ cid - Set HPDMA1 channel
channel’s CID to 1 with filtering enabled. Required for the channel to be allowed to issue transactions to RISAF-protected peripherals like JPEG. - reinit
- Re-initialize the
embassy-stm32clock configuration with the provided configuration.