embassy-stm32

Crates

git

Versions

stm32n657i0

Flavors

Module rcc

Module rcc 

Source
Expand description

Reset and Clock Control (RCC)

Modules§

mux

Structs§

Clocks
Config
Configuration of the core clocks
Hse
Hsi
HsiCalibration
IcConfig
Configuration for an internal clock (IC) divider.
LsConfig
LseConfig
Mco
McoConfig
Msi
WakeGuard

Enums§

AhbPrescaler
ApbPrescaler
CpuClk
HseMode
HsiPrescaler
Icint
Icsel
LseDrive
LseMode
Mco1Source
Mco2Source
McoPrescaler
Pll
Plldivm
Pllpdiv
Pllsel
RtcClockSource
SupplyConfig
SysClk
VoltageScale
XspiClkSrc

Constants§

HSI_FREQ
LSE_FREQ
LSI_FREQ

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-stm32 clock configuration with the provided configuration.