pub struct ClockTree { /* private fields */ }unstable only.Expand description
Represents the device’s clock tree.
Implementations§
Source§impl ClockTree
impl ClockTree
Sourcepub fn with<R>(f: impl FnOnce(&mut ClockTree) -> R) -> R
pub fn with<R>(f: impl FnOnce(&mut ClockTree) -> R) -> R
Locks the clock tree for exclusive access.
Sourcepub fn xtal_clk(&self) -> Option<XtalClkConfig>
pub fn xtal_clk(&self) -> Option<XtalClkConfig>
Returns the current configuration of the XTAL_CLK clock tree node
Sourcepub fn pll_clk(&self) -> Option<PllClkConfig>
pub fn pll_clk(&self) -> Option<PllClkConfig>
Returns the current configuration of the PLL_CLK clock tree node
Sourcepub fn apll_clk(&self) -> Option<ApllClkConfig>
pub fn apll_clk(&self) -> Option<ApllClkConfig>
Returns the current configuration of the APLL_CLK clock tree node
Sourcepub fn cpu_pll_div_in(&self) -> Option<CpuPllDivInConfig>
pub fn cpu_pll_div_in(&self) -> Option<CpuPllDivInConfig>
Returns the current configuration of the CPU_PLL_DIV_IN clock tree node
Sourcepub fn cpu_pll_div(&self) -> Option<CpuPllDivConfig>
pub fn cpu_pll_div(&self) -> Option<CpuPllDivConfig>
Returns the current configuration of the CPU_PLL_DIV clock tree node
Sourcepub fn syscon_pre_div_in(&self) -> Option<SysconPreDivInConfig>
pub fn syscon_pre_div_in(&self) -> Option<SysconPreDivInConfig>
Returns the current configuration of the SYSCON_PRE_DIV_IN clock tree node
Sourcepub fn syscon_pre_div(&self) -> Option<SysconPreDivConfig>
pub fn syscon_pre_div(&self) -> Option<SysconPreDivConfig>
Returns the current configuration of the SYSCON_PRE_DIV clock tree node
Sourcepub fn apb_clk(&self) -> Option<ApbClkConfig>
pub fn apb_clk(&self) -> Option<ApbClkConfig>
Returns the current configuration of the APB_CLK clock tree node
Sourcepub fn ref_tick(&self) -> Option<RefTickConfig>
pub fn ref_tick(&self) -> Option<RefTickConfig>
Returns the current configuration of the REF_TICK clock tree node
Sourcepub fn ref_tick_xtal(&self) -> Option<RefTickXtalConfig>
pub fn ref_tick_xtal(&self) -> Option<RefTickXtalConfig>
Returns the current configuration of the REF_TICK_XTAL clock tree node
Sourcepub fn ref_tick_fosc(&self) -> Option<RefTickFoscConfig>
pub fn ref_tick_fosc(&self) -> Option<RefTickFoscConfig>
Returns the current configuration of the REF_TICK_FOSC clock tree node
Sourcepub fn ref_tick_apll(&self) -> Option<RefTickApllConfig>
pub fn ref_tick_apll(&self) -> Option<RefTickApllConfig>
Returns the current configuration of the REF_TICK_APLL clock tree node
Sourcepub fn ref_tick_pll(&self) -> Option<RefTickPllConfig>
pub fn ref_tick_pll(&self) -> Option<RefTickPllConfig>
Returns the current configuration of the REF_TICK_PLL clock tree node
Sourcepub fn cpu_clk(&self) -> Option<CpuClkConfig>
pub fn cpu_clk(&self) -> Option<CpuClkConfig>
Returns the current configuration of the CPU_CLK clock tree node
Sourcepub fn rtc_slow_clk(&self) -> Option<RtcSlowClkConfig>
pub fn rtc_slow_clk(&self) -> Option<RtcSlowClkConfig>
Returns the current configuration of the RTC_SLOW_CLK clock tree node
Sourcepub fn rtc_fast_clk(&self) -> Option<RtcFastClkConfig>
pub fn rtc_fast_clk(&self) -> Option<RtcFastClkConfig>
Returns the current configuration of the RTC_FAST_CLK clock tree node
Sourcepub fn timg_calibration_clock(&self) -> Option<TimgCalibrationClockConfig>
pub fn timg_calibration_clock(&self) -> Option<TimgCalibrationClockConfig>
Returns the current configuration of the TIMG_CALIBRATION_CLOCK clock tree node
Sourcepub fn mcpwm0_function_clock(&self) -> Option<McpwmFunctionClockConfig>
pub fn mcpwm0_function_clock(&self) -> Option<McpwmFunctionClockConfig>
Returns the current configuration of the MCPWM0_FUNCTION_CLOCK clock tree node
Sourcepub fn mcpwm1_function_clock(&self) -> Option<McpwmFunctionClockConfig>
pub fn mcpwm1_function_clock(&self) -> Option<McpwmFunctionClockConfig>
Returns the current configuration of the MCPWM1_FUNCTION_CLOCK clock tree node
Sourcepub fn uart0_function_clock(&self) -> Option<UartFunctionClockConfig>
pub fn uart0_function_clock(&self) -> Option<UartFunctionClockConfig>
Returns the current configuration of the UART0_FUNCTION_CLOCK clock tree node
Sourcepub fn uart0_mem_clock(&self) -> Option<UartMemClockConfig>
pub fn uart0_mem_clock(&self) -> Option<UartMemClockConfig>
Returns the current configuration of the UART0_MEM_CLOCK clock tree node
Sourcepub fn uart0_baud_rate_generator(&self) -> Option<UartBaudRateGeneratorConfig>
pub fn uart0_baud_rate_generator(&self) -> Option<UartBaudRateGeneratorConfig>
Returns the current configuration of the UART0_BAUD_RATE_GENERATOR clock tree node
Sourcepub fn uart1_function_clock(&self) -> Option<UartFunctionClockConfig>
pub fn uart1_function_clock(&self) -> Option<UartFunctionClockConfig>
Returns the current configuration of the UART1_FUNCTION_CLOCK clock tree node
Sourcepub fn uart1_mem_clock(&self) -> Option<UartMemClockConfig>
pub fn uart1_mem_clock(&self) -> Option<UartMemClockConfig>
Returns the current configuration of the UART1_MEM_CLOCK clock tree node
Sourcepub fn uart1_baud_rate_generator(&self) -> Option<UartBaudRateGeneratorConfig>
pub fn uart1_baud_rate_generator(&self) -> Option<UartBaudRateGeneratorConfig>
Returns the current configuration of the UART1_BAUD_RATE_GENERATOR clock tree node
Sourcepub fn uart2_function_clock(&self) -> Option<UartFunctionClockConfig>
pub fn uart2_function_clock(&self) -> Option<UartFunctionClockConfig>
Returns the current configuration of the UART2_FUNCTION_CLOCK clock tree node
Sourcepub fn uart2_mem_clock(&self) -> Option<UartMemClockConfig>
pub fn uart2_mem_clock(&self) -> Option<UartMemClockConfig>
Returns the current configuration of the UART2_MEM_CLOCK clock tree node
Sourcepub fn uart2_baud_rate_generator(&self) -> Option<UartBaudRateGeneratorConfig>
pub fn uart2_baud_rate_generator(&self) -> Option<UartBaudRateGeneratorConfig>
Returns the current configuration of the UART2_BAUD_RATE_GENERATOR clock tree node