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§

AhbClkConfig
Configures the AHB_CLK clock node.
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.
UartBaudRateGeneratorConfig
Configures the UART0_BAUD_RATE_GENERATOR clock node.
UartFunctionClockConfig
Configures the UART0_FUNCTION_CLOCK clock node.

Enums§

AdcFunctionClockConfig
The list of clock signals that the APB_SARADC_FUNCTION_CLOCK multiplexer can output.
AdcInstance
BleLpClkConfig
The list of clock signals that the BLE_LP_CLK multiplexer can output.
ClockSource
The clock sources of the device.
CpuClock
Clock configuration options.
CryptoClkConfig
The list of clock signals that the CRYPTO_CLK multiplexer can output.
HpRootClkConfig
The list of clock signals that the HP_ROOT_CLK multiplexer can output.
I2cFunctionClockSclk
I2cInstance
I2sClkSclk
I2sInstance
I2sMclkOutConfig
The list of clock signals that the I2S0_MCLK_OUT multiplexer can output.
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.
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
XtalClkConfig
Selects the output frequency of XTAL_CLK.

Functions§

ahb_clk_config
ahb_clk_config_frequency
ahb_clk_frequency
ahb_clk_root_source
Returns the clock source that AHB_CLK currently runs on.
ahb_clk_source_frequency
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_ahb_clk
configure_apb_clk
configure_ble_lp_clk
configure_cpu_clk
configure_crypto_clk
configure_hp_root_clk
configure_lp_fast_clk
configure_lp_slow_clk
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_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
crypto_pll_div_frequency
crypto_pll_div_root_source
Returns the clock source that CRYPTO_PLL_DIV currently runs on.
crypto_pll_div_source_frequency
hp_root_clk_config
hp_root_clk_config_frequency
hp_root_clk_frequency
hp_root_clk_root_source
Returns the clock source that HP_ROOT_CLK currently runs on.
hp_root_clk_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
osc_slow_clk_frequency
osc_slow_clk_root_source
Returns the clock source that OSC_SLOW_CLK currently runs on.
pll_clk_frequency
pll_clk_root_source
Returns the clock source that PLL_CLK currently runs on.
pll_clk_source_frequency
pll_f20m_frequency
pll_f20m_root_source
Returns the clock source that PLL_F20M currently runs on.
pll_f20m_source_frequency
pll_f40m_frequency
pll_f40m_root_source
Returns the clock source that PLL_F40M currently runs on.
pll_f40m_source_frequency
pll_f48m_frequency
pll_f48m_root_source
Returns the clock source that PLL_F48M currently runs on.
pll_f48m_source_frequency
pll_f60m_frequency
pll_f60m_root_source
Returns the clock source that PLL_F60M currently runs on.
pll_f60m_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
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_ahb_clk
release_apb_clk
release_ble_lp_clk
release_ble_lp_rc_slow_clk
release_ble_lp_xtal_clk
release_cpu_clk
release_crypto_clk
release_crypto_pll_div
release_hp_root_clk
release_lp_fast_clk
release_lp_slow_clk
release_osc_slow_clk
release_pll_clk
release_pll_f20m
release_pll_f40m
release_pll_f48m
release_pll_f60m
release_pll_f80m
release_pll_f120m
release_pll_f160m
release_rc_fast_clk
release_rc_slow_clk
release_timg_calibration_clock
release_xtal_d2_clk
request_ahb_clk
request_apb_clk
request_ble_lp_clk
request_ble_lp_rc_slow_clk
request_ble_lp_xtal_clk
request_cpu_clk
request_crypto_clk
request_crypto_pll_div
request_hp_root_clk
request_lp_fast_clk
request_lp_slow_clk
request_osc_slow_clk
request_pll_clk
request_pll_f20m
request_pll_f40m
request_pll_f48m
request_pll_f60m
request_pll_f80m
request_pll_f120m
request_pll_f160m
request_rc_fast_clk
request_rc_slow_clk
request_timg_calibration_clock
request_xtal_d2_clk
set_rc_fast_clk_frequency
set_rc_slow_clk_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_config
xtal_clk_config_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