Skip to main content

Module ll

Module ll 

Source
Available on crate feature unstable only.
Expand description

§Low-level clock control

This module provides experimental low-level clock control functionality. These functions can render the device temporarily unusable. Use with caution.

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Structs§

ApbClkConfig
Configures the APB_CLK clock node.
ClockConfig
Clock tree configuration.
ClockTree
Represents the device’s clock tree.
CpuClkConfig
Configures the CPU_CLK clock node.
I2cFunctionClockConfig
Configures the I2C0_FUNCTION_CLOCK clock node.
I2sClkConfig
Configures the I2S0_TX_CLK clock node.
IomuxFunctionClockConfig
Configures the IOMUX_FUNCTION_CLOCK clock node.
MemClkConfig
Configures the MEM_CLK clock node.
MipiDsiDpiClkConfig
Configures the MIPI_DSI_DPI_CLK clock node.
MipiDsiPhyPllRefclkConfig
Configures the MIPI_DSI_PHY_PLL_REFCLK clock node.
SysClkConfig
Configures the SYS_CLK clock node.
UartBaudRateGeneratorConfig
Configures the UART0_BAUD_RATE_GENERATOR clock node.
UartFunctionClockConfig
Configures the UART0_FUNCTION_CLOCK clock node.

Enums§

ClockSource
The clock sources of the device.
CpllClkConfig
Selects the output frequency of CPLL_CLK. Depends on XTAL_CLK.
CpuClock
CPU clock frequency presets for ESP32-P4.
CpuRootClkConfig
The list of clock signals that the CPU_ROOT_CLK multiplexer can output.
CryptoClkConfig
The list of clock signals that the CRYPTO_CLK multiplexer can output.
I2cFunctionClockSclk
I2cInstance
I2sClkSclk
I2sInstance
I2sMclkOutConfig
The list of clock signals that the I2S0_MCLK_OUT multiplexer can output.
IomuxFunctionClockSource
LpFastClkConfig
The list of clock signals that the LP_FAST_CLK multiplexer can output.
LpSlowClkConfig
The list of clock signals that the LP_SLOW_CLK multiplexer can output.
MipiDsiDpiClkSclk
MipiDsiInstance
MipiDsiPhyCfgClkConfig
The list of clock signals that the MIPI_DSI_PHY_CFG_CLK multiplexer can output.
MipiDsiPhyPllRefclkSclk
MpllClkConfig
Selects the output frequency of MPLL_CLK. Depends on XTAL_CLK.
PsramFunctionClockConfig
The list of clock signals that the PSRAM_FUNCTION_CLOCK multiplexer can output.
PsramInstance
RmtInstance
RmtSclkConfig
The list of clock signals that the RMT_SCLK multiplexer can output.
SdmInstance
SpiFunctionClockConfig
The list of clock signals that the SPI2_FUNCTION_CLOCK multiplexer can output.
SpiInstance
TimgCalibrationClockConfig
The list of clock signals that the TIMG_CALIBRATION_CLOCK multiplexer can output.
TimgFunctionClockConfig
The list of clock signals that the TIMG0_FUNCTION_CLOCK multiplexer can output.
TimgInstance
TimgWdtClockConfig
The list of clock signals that the TIMG0_WDT_CLOCK multiplexer can output.
UartFunctionClockSclk
UartInstance

Functions§

apb_clk_config
apb_clk_config_frequency
apb_clk_frequency
apb_clk_root_source
Returns the clock source that APB_CLK currently runs on.
apb_clk_source_frequency
configure_apb_clk
configure_cpll_clk
configure_cpu_clk
configure_cpu_root_clk
configure_crypto_clk
configure_iomux_function_clock
configure_lp_fast_clk
configure_lp_slow_clk
configure_mem_clk
configure_mpll_clk
configure_sys_clk
configure_timg_calibration_clock
cpll_clk_config
cpll_clk_config_frequency
cpll_clk_frequency
cpll_clk_root_source
Returns the clock source that CPLL_CLK currently runs on.
cpll_clk_source_frequency
cpu_clk_config
cpu_clk_config_frequency
cpu_clk_frequency
cpu_clk_root_source
Returns the clock source that CPU_CLK currently runs on.
cpu_clk_source_frequency
cpu_root_clk_config
cpu_root_clk_config_frequency
cpu_root_clk_frequency
cpu_root_clk_root_source
Returns the clock source that CPU_ROOT_CLK currently runs on.
cpu_root_clk_source_frequency
crypto_clk_config
crypto_clk_config_frequency
crypto_clk_frequency
crypto_clk_root_source
Returns the clock source that CRYPTO_CLK currently runs on.
crypto_clk_source_frequency
iomux_function_clock_config
iomux_function_clock_config_frequency
iomux_function_clock_frequency
iomux_function_clock_root_source
Returns the clock source that IOMUX_FUNCTION_CLOCK currently runs on.
iomux_function_clock_source_frequency
lp_fast_clk_config
lp_fast_clk_config_frequency
lp_fast_clk_frequency
lp_fast_clk_root_source
Returns the clock source that LP_FAST_CLK currently runs on.
lp_fast_clk_source_frequency
lp_slow_clk_config
lp_slow_clk_config_frequency
lp_slow_clk_frequency
lp_slow_clk_root_source
Returns the clock source that LP_SLOW_CLK currently runs on.
lp_slow_clk_source_frequency
mem_clk_config
mem_clk_config_frequency
mem_clk_frequency
mem_clk_root_source
Returns the clock source that MEM_CLK currently runs on.
mem_clk_source_frequency
mpll_clk_config
mpll_clk_config_frequency
mpll_clk_frequency
mpll_clk_root_source
Returns the clock source that MPLL_CLK currently runs on.
mpll_clk_source_frequency
osc_slow_clk_frequency
osc_slow_clk_root_source
Returns the clock source that OSC_SLOW_CLK currently runs on.
pll_f20m_frequency
pll_f20m_root_source
Returns the clock source that PLL_F20M currently runs on.
pll_f20m_source_frequency
pll_f25m_frequency
pll_f25m_root_source
Returns the clock source that PLL_F25M currently runs on.
pll_f25m_source_frequency
pll_f50m_frequency
pll_f50m_root_source
Returns the clock source that PLL_F50M currently runs on.
pll_f50m_source_frequency
pll_f80m_frequency
pll_f80m_root_source
Returns the clock source that PLL_F80M currently runs on.
pll_f80m_source_frequency
pll_f120m_frequency
pll_f120m_root_source
Returns the clock source that PLL_F120M currently runs on.
pll_f120m_source_frequency
pll_f160m_frequency
pll_f160m_root_source
Returns the clock source that PLL_F160M currently runs on.
pll_f160m_source_frequency
pll_f240m_frequency
pll_f240m_root_source
Returns the clock source that PLL_F240M currently runs on.
pll_f240m_source_frequency
rc32k_clk_frequency
rc32k_clk_root_source
Returns the clock source that RC32K_CLK currently runs on.
rc_fast_clk_frequency
rc_fast_clk_nominal_frequency
rc_fast_clk_root_source
Returns the clock source that RC_FAST_CLK currently runs on.
rc_slow_clk_frequency
rc_slow_clk_nominal_frequency
rc_slow_clk_root_source
Returns the clock source that RC_SLOW_CLK currently runs on.
release_apb_clk
release_cpll_clk
release_cpu_clk
release_cpu_root_clk
release_crypto_clk
release_lp_fast_clk
release_lp_slow_clk
release_mem_clk
release_mpll_clk
release_osc_slow_clk
release_pll_f20m
release_pll_f25m
release_pll_f50m
release_pll_f80m
release_pll_f120m
release_pll_f160m
release_pll_f240m
release_rc32k_clk
release_rc_fast_clk
release_rc_slow_clk
release_spll_clk
release_spll_d3_clock
release_sys_clk
release_timg_calibration_clock
release_xtal_d2_clk
request_apb_clk
request_cpll_clk
request_cpu_clk
request_cpu_root_clk
request_crypto_clk
request_lp_fast_clk
request_lp_slow_clk
request_mem_clk
request_mpll_clk
request_osc_slow_clk
request_pll_f20m
request_pll_f25m
request_pll_f50m
request_pll_f80m
request_pll_f120m
request_pll_f160m
request_pll_f240m
request_rc32k_clk
request_rc_fast_clk
request_rc_slow_clk
request_spll_clk
request_spll_d3_clock
request_sys_clk
request_timg_calibration_clock
request_xtal_d2_clk
set_rc_fast_clk_frequency
set_rc_slow_clk_frequency
spll_clk_frequency
spll_clk_root_source
Returns the clock source that SPLL_CLK currently runs on.
spll_clk_source_frequency
spll_d3_clock_frequency
spll_d3_clock_root_source
Returns the clock source that SPLL_D3_CLOCK currently runs on.
spll_d3_clock_source_frequency
sys_clk_config
sys_clk_config_frequency
sys_clk_frequency
sys_clk_root_source
Returns the clock source that SYS_CLK currently runs on.
sys_clk_source_frequency
timg_calibration_clock_config
timg_calibration_clock_config_frequency
timg_calibration_clock_frequency
timg_calibration_clock_root_source
Returns the clock source that TIMG_CALIBRATION_CLOCK currently runs on.
timg_calibration_clock_source_frequency
xtal_clk_frequency
xtal_clk_root_source
Returns the clock source that XTAL_CLK currently runs on.
xtal_d2_clk_frequency
xtal_d2_clk_root_source
Returns the clock source that XTAL_D2_CLK currently runs on.
xtal_d2_clk_source_frequency