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§

ClockConfig
Clock tree configuration.
ClockTree
Represents the device’s clock tree.
I2cFunctionClockConfig
Configures the I2C0_FUNCTION_CLOCK clock node.
I2sClkConfig
Configures the I2S0_TX_CLK clock node.
LcdCamCamClockConfig
Configures the LCD_CAM_CAM_CLOCK clock node.
LcdCamLcdClockConfig
Configures the LCD_CAM_LCD_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§

ApbClkConfig
The list of clock signals that the APB_CLK multiplexer can output.
BleLpClkConfig
The list of clock signals that the BLE_LP_CLK multiplexer can output.
ClockSource
The clock sources of the device.
CpuClkConfig
The list of clock signals that the CPU_CLK multiplexer can output.
CpuClock
Clock configuration options.
CpuPllDivOutConfig
Selects the output frequency of CPU_PLL_DIV_OUT. Depends on PLL_CLK.
CryptoPwmClkConfig
The list of clock signals that the CRYPTO_PWM_CLK multiplexer can output.
I2cFunctionClockSclk
I2cInstance
I2sClkSclk
I2sInstance
I2sMclkOutConfig
The list of clock signals that the I2S0_MCLK_OUT multiplexer can output.
LcdCamCamClockSclk
LcdCamInstance
LcdCamLcdClockSclk
LowPowerClkConfig
The list of clock signals that the LOW_POWER_CLK multiplexer can output.
McpwmFunctionClockConfig
The list of clock signals that the MCPWM0_FUNCTION_CLOCK multiplexer can output.
McpwmInstance
PllClkConfig
Selects the output frequency of PLL_CLK. Depends on XTAL_CLK.
RmtInstance
RmtSclkConfig
The list of clock signals that the RMT_SCLK 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.
SdmInstance
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
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_80m_frequency
apb_80m_root_source
Returns the clock source that APB_80M currently runs on.
apb_80m_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_apb_clk
configure_ble_lp_clk
configure_cpu_clk
configure_cpu_pll_div_out
configure_crypto_pwm_clk
configure_low_power_clk
configure_pll_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_pll_div_out_config
cpu_pll_div_out_config_frequency
cpu_pll_div_out_frequency
cpu_pll_div_out_root_source
Returns the clock source that CPU_PLL_DIV_OUT currently runs on.
cpu_pll_div_out_source_frequency
crypto_pwm_clk_config
crypto_pwm_clk_config_frequency
crypto_pwm_clk_frequency
crypto_pwm_clk_root_source
Returns the clock source that CRYPTO_PWM_CLK currently runs on.
crypto_pwm_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
pll_160m_frequency
pll_160m_root_source
Returns the clock source that PLL_160M currently runs on.
pll_160m_source_frequency
pll_clk_config
pll_clk_config_frequency
pll_clk_frequency
pll_clk_root_source
Returns the clock source that PLL_CLK currently runs on.
pll_clk_source_frequency
pll_d2_frequency
pll_d2_root_source
Returns the clock source that PLL_D2 currently runs on.
pll_d2_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_80m
release_apb_clk
release_ble_lp_clk
release_ble_lp_xtal_clk
release_cpu_pll_div_out
release_crypto_pwm_clk
release_low_power_clk
release_pll_160m
release_pll_clk
release_pll_d2
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_80m
request_apb_clk
request_ble_lp_clk
request_ble_lp_xtal_clk
request_cpu_pll_div_out
request_crypto_pwm_clk
request_low_power_clk
request_pll_160m
request_pll_clk
request_pll_d2
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