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§

ApllClkConfig
The target frequency of the APLL_CLK clock source. Depends on PLL_CLK.
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.
I2sMclkConfig
Configures the I2S0_MCLK clock node.
RefTickApllConfig
Configures the REF_TICK_APLL clock node.
RefTickFoscConfig
Configures the REF_TICK_FOSC clock node.
RefTickPllConfig
Configures the REF_TICK_PLL clock node.
RefTickXtalConfig
Configures the REF_TICK_XTAL clock node.
SysconPreDivConfig
Configures the SYSCON_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.
CpuPllDivDivisor
CpuPllDivInConfig
The list of clock signals that the CPU_PLL_DIV_IN multiplexer can output.
I2cFunctionClockSclk
I2cInstance
I2sInstance
I2sMclkSclk
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.
RefTickConfig
The list of clock signals that the REF_TICK multiplexer can output.
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
SysconPreDivInConfig
The list of clock signals that the SYSCON_PRE_DIV_IN multiplexer can output.
TimgCalibrationClockConfig
The list of clock signals that the TIMG_CALIBRATION_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_80m_frequency
apb_clk_80m_root_source
Returns the clock source that APB_CLK_80M currently runs on.
apb_clk_80m_source_frequency
apb_clk_config
apb_clk_config_frequency
apb_clk_cpu_div2_frequency
apb_clk_cpu_div2_root_source
Returns the clock source that APB_CLK_CPU_DIV2 currently runs on.
apb_clk_cpu_div2_source_frequency
apb_clk_frequency
apb_clk_root_source
Returns the clock source that APB_CLK currently runs on.
apb_clk_source_frequency
apll_clk_config
apll_clk_config_frequency
apll_clk_frequency
apll_clk_root_source
Returns the clock source that APLL_CLK currently runs on.
apll_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_apll_clk
configure_ble_lp_clk
configure_cpu_clk
configure_cpu_pll_div
configure_cpu_pll_div_in
configure_pll_clk
configure_ref_tick
configure_ref_tick_apll
configure_ref_tick_fosc
configure_ref_tick_pll
configure_ref_tick_xtal
configure_rtc_fast_clk
configure_rtc_slow_clk
configure_syscon_pre_div
configure_syscon_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_config
cpu_pll_div_config_frequency
cpu_pll_div_frequency
cpu_pll_div_in_config
cpu_pll_div_in_config_frequency
cpu_pll_div_in_frequency
cpu_pll_div_in_root_source
Returns the clock source that CPU_PLL_DIV_IN currently runs on.
cpu_pll_div_in_source_frequency
cpu_pll_div_root_source
Returns the clock source that CPU_PLL_DIV currently runs on.
cpu_pll_div_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_clk_frequency
pll_d2_clk_root_source
Returns the clock source that PLL_D2_CLK currently runs on.
pll_d2_clk_source_frequency
pll_f160m_clk_frequency
pll_f160m_clk_root_source
Returns the clock source that PLL_F160M_CLK currently runs on.
pll_f160m_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_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.
ref_tick_apll_config
ref_tick_apll_config_frequency
ref_tick_apll_frequency
ref_tick_apll_root_source
Returns the clock source that REF_TICK_APLL currently runs on.
ref_tick_apll_source_frequency
ref_tick_config
ref_tick_config_frequency
ref_tick_fosc_config
ref_tick_fosc_config_frequency
ref_tick_fosc_frequency
ref_tick_fosc_root_source
Returns the clock source that REF_TICK_FOSC currently runs on.
ref_tick_fosc_source_frequency
ref_tick_frequency
ref_tick_pll_config
ref_tick_pll_config_frequency
ref_tick_pll_frequency
ref_tick_pll_root_source
Returns the clock source that REF_TICK_PLL currently runs on.
ref_tick_pll_source_frequency
ref_tick_root_source
Returns the clock source that REF_TICK currently runs on.
ref_tick_source_frequency
ref_tick_xtal_config
ref_tick_xtal_config_frequency
ref_tick_xtal_frequency
ref_tick_xtal_root_source
Returns the clock source that REF_TICK_XTAL currently runs on.
ref_tick_xtal_source_frequency
release_apb_clk
release_apb_clk_80m
release_apb_clk_cpu_div2
release_apll_clk
release_ble_lp_clk
release_ble_lp_xtal_clk
release_cpu_pll_div
release_cpu_pll_div_in
release_pll_clk
release_pll_d2_clk
release_pll_f160m_clk
release_rc_fast_clk
release_rc_fast_div_clk
release_rc_slow_clk
release_ref_tick
release_ref_tick_apll
release_ref_tick_fosc
release_ref_tick_pll
release_ref_tick_xtal
release_rtc_fast_clk
release_rtc_slow_clk
release_syscon_pre_div
release_syscon_pre_div_in
release_timg_calibration_clock
release_uart_mem_clk
release_xtal_div_clk
request_apb_clk
request_apb_clk_80m
request_apb_clk_cpu_div2
request_apll_clk
request_ble_lp_clk
request_ble_lp_xtal_clk
request_cpu_pll_div
request_cpu_pll_div_in
request_pll_clk
request_pll_d2_clk
request_pll_f160m_clk
request_rc_fast_clk
request_rc_fast_div_clk
request_rc_slow_clk
request_ref_tick
request_ref_tick_apll
request_ref_tick_fosc
request_ref_tick_pll
request_ref_tick_xtal
request_rtc_fast_clk
request_rtc_slow_clk
request_syscon_pre_div
request_syscon_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
syscon_pre_div_config
syscon_pre_div_config_frequency
syscon_pre_div_frequency
syscon_pre_div_in_config
syscon_pre_div_in_config_frequency
syscon_pre_div_in_frequency
syscon_pre_div_in_root_source
Returns the clock source that SYSCON_PRE_DIV_IN currently runs on.
syscon_pre_div_in_source_frequency
syscon_pre_div_root_source
Returns the clock source that SYSCON_PRE_DIV currently runs on.
syscon_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