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§

BleLpClkConfig
Configures the BLE_LP_CLK clock node.
ClockConfig
Clock tree configuration.
ClockTree
Represents the device’s clock tree.
CpuPllDivConfig
Configures the CPU_PLL_DIV clock node.
I2cFunctionClockConfig
Configures the I2C0_FUNCTION_CLOCK clock node.
RcFastClkDivNConfig
Configures the RC_FAST_CLK_DIV_N clock node.
SystemPreDivConfig
Configures the SYSTEM_PRE_DIV clock node.
UartBaudRateGeneratorConfig
Configures the UART0_BAUD_RATE_GENERATOR clock node.
UartFunctionClockConfig
Configures the UART0_FUNCTION_CLOCK clock node.

Enums§

AdcInstance
ApbClkConfig
The list of clock signals that the APB_CLK multiplexer can output.
BleLpClkSclk
ClockSource
The clock sources of the device.
CpuClkConfig
The list of clock signals that the CPU_CLK multiplexer can output.
CpuClock
Clock configuration options.
CpuPllDivDivisor
CryptoClkConfig
The list of clock signals that the CRYPTO_CLK multiplexer can output.
I2cFunctionClockSclk
I2cInstance
LowPowerClkConfig
The list of clock signals that the LOW_POWER_CLK multiplexer can output.
MspiClkConfig
The list of clock signals that the MSPI_CLK multiplexer can output.
RtcFastClkConfig
The list of clock signals that the RTC_FAST_CLK multiplexer can output.
RtcSlowClkConfig
The list of clock signals that the RTC_SLOW_CLK multiplexer can output.
SpiFunctionClockConfig
The list of clock signals that the SPI2_FUNCTION_CLOCK multiplexer can output.
SpiInstance
SystemPreDivInConfig
The list of clock signals that the SYSTEM_PRE_DIV_IN multiplexer can output.
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
UartMemClkConfig
The list of clock signals that the UART_MEM_CLK multiplexer can output.
XtalClkConfig
Selects the output frequency of XTAL_CLK.

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
ble_lp_clk_config
ble_lp_clk_config_frequency
ble_lp_clk_frequency
ble_lp_clk_root_source
Returns the clock source that BLE_LP_CLK currently runs on.
ble_lp_clk_source_frequency
ble_lp_rc_slow_clk_frequency
ble_lp_rc_slow_clk_root_source
Returns the clock source that BLE_LP_RC_SLOW_CLK currently runs on.
ble_lp_rc_slow_clk_source_frequency
ble_lp_xtal_clk_frequency
ble_lp_xtal_clk_root_source
Returns the clock source that BLE_LP_XTAL_CLK currently runs on.
ble_lp_xtal_clk_source_frequency
configure_apb_clk
configure_ble_lp_clk
configure_cpu_clk
configure_cpu_pll_div
configure_crypto_clk
configure_low_power_clk
configure_mspi_clk
configure_rc_fast_clk_div_n
configure_rtc_fast_clk
configure_rtc_slow_clk
configure_system_pre_div
configure_system_pre_div_in
configure_timg_calibration_clock
configure_xtal_clk
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_div2_frequency
cpu_div2_root_source
Returns the clock source that CPU_DIV2 currently runs on.
cpu_div2_source_frequency
cpu_pll_div_config
cpu_pll_div_config_frequency
cpu_pll_div_frequency
cpu_pll_div_root_source
Returns the clock source that CPU_PLL_DIV currently runs on.
cpu_pll_div_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
low_power_clk_config
low_power_clk_config_frequency
low_power_clk_frequency
low_power_clk_root_source
Returns the clock source that LOW_POWER_CLK currently runs on.
low_power_clk_source_frequency
mspi_clk_config
mspi_clk_config_frequency
mspi_clk_frequency
mspi_clk_root_source
Returns the clock source that MSPI_CLK currently runs on.
mspi_clk_source_frequency
osc_slow_clk_frequency
osc_slow_clk_root_source
Returns the clock source that OSC_SLOW_CLK currently runs on.
pll_40m_frequency
pll_40m_root_source
Returns the clock source that PLL_40M currently runs on.
pll_40m_source_frequency
pll_60m_frequency
pll_60m_root_source
Returns the clock source that PLL_60M currently runs on.
pll_60m_source_frequency
pll_80m_frequency
pll_80m_root_source
Returns the clock source that PLL_80M currently runs on.
pll_80m_source_frequency
pll_clk_frequency
pll_clk_root_source
Returns the clock source that PLL_CLK currently runs on.
pll_clk_source_frequency
rc_fast_clk_div_n_config
rc_fast_clk_div_n_config_frequency
rc_fast_clk_div_n_frequency
rc_fast_clk_div_n_root_source
Returns the clock source that RC_FAST_CLK_DIV_N currently runs on.
rc_fast_clk_div_n_source_frequency
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_fast_div_clk_frequency
rc_fast_div_clk_root_source
Returns the clock source that RC_FAST_DIV_CLK currently runs on.
rc_fast_div_clk_source_frequency
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_ble_lp_clk
release_ble_lp_rc_slow_clk
release_ble_lp_xtal_clk
release_cpu_div2
release_cpu_pll_div
release_crypto_clk
release_low_power_clk
release_mspi_clk
release_osc_slow_clk
release_pll_40m
release_pll_60m
release_pll_80m
release_pll_clk
release_rc_fast_clk
release_rc_fast_clk_div_n
release_rc_fast_div_clk
release_rc_slow_clk
release_rtc_fast_clk
release_rtc_slow_clk
release_system_pre_div
release_system_pre_div_in
release_timg_calibration_clock
release_uart_mem_clk
release_xtal_div_clk
request_apb_clk
request_ble_lp_clk
request_ble_lp_rc_slow_clk
request_ble_lp_xtal_clk
request_cpu_div2
request_cpu_pll_div
request_crypto_clk
request_low_power_clk
request_mspi_clk
request_osc_slow_clk
request_pll_40m
request_pll_60m
request_pll_80m
request_pll_clk
request_rc_fast_clk
request_rc_fast_clk_div_n
request_rc_fast_div_clk
request_rc_slow_clk
request_rtc_fast_clk
request_rtc_slow_clk
request_system_pre_div
request_system_pre_div_in
request_timg_calibration_clock
request_uart_mem_clk
request_xtal_div_clk
rtc_fast_clk_config
rtc_fast_clk_config_frequency
rtc_fast_clk_frequency
rtc_fast_clk_root_source
Returns the clock source that RTC_FAST_CLK currently runs on.
rtc_fast_clk_source_frequency
rtc_slow_clk_config
rtc_slow_clk_config_frequency
rtc_slow_clk_frequency
rtc_slow_clk_root_source
Returns the clock source that RTC_SLOW_CLK currently runs on.
rtc_slow_clk_source_frequency
set_rc_fast_clk_frequency
set_rc_slow_clk_frequency
system_pre_div_config
system_pre_div_config_frequency
system_pre_div_frequency
system_pre_div_in_config
system_pre_div_in_config_frequency
system_pre_div_in_frequency
system_pre_div_in_root_source
Returns the clock source that SYSTEM_PRE_DIV_IN currently runs on.
system_pre_div_in_source_frequency
system_pre_div_root_source
Returns the clock source that SYSTEM_PRE_DIV currently runs on.
system_pre_div_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
uart_mem_clk_frequency
uart_mem_clk_root_source
Returns the clock source that UART_MEM_CLK currently runs on.
uart_mem_clk_source_frequency
xtal_clk_config
xtal_clk_config_frequency
xtal_clk_frequency
xtal_clk_root_source
Returns the clock source that XTAL_CLK currently runs on.
xtal_div_clk_frequency
xtal_div_clk_root_source
Returns the clock source that XTAL_DIV_CLK currently runs on.
xtal_div_clk_source_frequency