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§

ApbClkDivisor
BleLpClkConfig
The list of clock signals that the BLE_LP_CLK multiplexer can output.
ClockSource
The clock sources of the device.
CpuClkDivisor
CpuClock
Clock configuration options.
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.
IomuxFunctionClockConfig
The list of clock signals that the IOMUX_FUNCTION_CLOCK 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

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_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_hp_root_clk
configure_iomux_function_clock
configure_lp_fast_clk
configure_lp_slow_clk
configure_timg_calibration_clock
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
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
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
osc_slow_clk_frequency
osc_slow_clk_root_source
Returns the clock source that OSC_SLOW_CLK currently runs on.
pll_f48m_clk_frequency
pll_f48m_clk_root_source
Returns the clock source that PLL_F48M_CLK currently runs on.
pll_f48m_clk_source_frequency
pll_f96m_clk_frequency
pll_f96m_clk_root_source
Returns the clock source that PLL_F96M_CLK currently runs on.
pll_f96m_clk_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.
rc_slow_d4_clk_frequency
rc_slow_d4_clk_root_source
Returns the clock source that RC_SLOW_D4_CLK currently runs on.
rc_slow_d4_clk_source_frequency
release_apb_clk
release_ble_lp_clk
release_ble_lp_xtal_clk
release_hp_root_clk
release_lp_fast_clk
release_lp_slow_clk
release_osc_slow_clk
release_pll_f48m_clk
release_pll_f96m_clk
release_rc_fast_clk
release_rc_slow_clk
release_rc_slow_d4_clk
release_timg_calibration_clock
release_xtal_d2_clk
release_xtal_x2_clk
request_apb_clk
request_ble_lp_clk
request_ble_lp_xtal_clk
request_hp_root_clk
request_lp_fast_clk
request_lp_slow_clk
request_osc_slow_clk
request_pll_f48m_clk
request_pll_f96m_clk
request_rc_fast_clk
request_rc_slow_clk
request_rc_slow_d4_clk
request_timg_calibration_clock
request_xtal_d2_clk
request_xtal_x2_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_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
xtal_x2_clk_frequency
xtal_x2_clk_root_source
Returns the clock source that XTAL_X2_CLK currently runs on.
xtal_x2_clk_source_frequency