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 hp_root_clk(&self) -> Option<HpRootClkConfig>
pub fn hp_root_clk(&self) -> Option<HpRootClkConfig>
Returns the current configuration of the HP_ROOT_CLK 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 ahb_clk(&self) -> Option<AhbClkConfig>
pub fn ahb_clk(&self) -> Option<AhbClkConfig>
Returns the current configuration of the AHB_CLK 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 lp_fast_clk(&self) -> Option<LpFastClkConfig>
pub fn lp_fast_clk(&self) -> Option<LpFastClkConfig>
Returns the current configuration of the LP_FAST_CLK clock tree node
Sourcepub fn lp_slow_clk(&self) -> Option<LpSlowClkConfig>
pub fn lp_slow_clk(&self) -> Option<LpSlowClkConfig>
Returns the current configuration of the LP_SLOW_CLK clock tree node
Sourcepub fn crypto_clk(&self) -> Option<CryptoClkConfig>
pub fn crypto_clk(&self) -> Option<CryptoClkConfig>
Returns the current configuration of the CRYPTO_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 parl_io_rx_clock(&self) -> Option<ParlIoRxClockConfig>
pub fn parl_io_rx_clock(&self) -> Option<ParlIoRxClockConfig>
Returns the current configuration of the PARL_IO_RX_CLOCK clock tree node
Sourcepub fn parl_io_tx_clock(&self) -> Option<ParlIoTxClockConfig>
pub fn parl_io_tx_clock(&self) -> Option<ParlIoTxClockConfig>
Returns the current configuration of the PARL_IO_TX_CLOCK clock tree node
Sourcepub fn rmt_sclk(&self) -> Option<RmtSclkConfig>
pub fn rmt_sclk(&self) -> Option<RmtSclkConfig>
Returns the current configuration of the RMT_SCLK clock tree node
Sourcepub fn timg0_function_clock(&self) -> Option<TimgFunctionClockConfig>
pub fn timg0_function_clock(&self) -> Option<TimgFunctionClockConfig>
Returns the current configuration of the TIMG0_FUNCTION_CLOCK clock tree node
Sourcepub fn timg0_wdt_clock(&self) -> Option<TimgWdtClockConfig>
pub fn timg0_wdt_clock(&self) -> Option<TimgWdtClockConfig>
Returns the current configuration of the TIMG0_WDT_CLOCK clock tree node
Sourcepub fn timg1_function_clock(&self) -> Option<TimgFunctionClockConfig>
pub fn timg1_function_clock(&self) -> Option<TimgFunctionClockConfig>
Returns the current configuration of the TIMG1_FUNCTION_CLOCK clock tree node
Sourcepub fn timg1_wdt_clock(&self) -> Option<TimgWdtClockConfig>
pub fn timg1_wdt_clock(&self) -> Option<TimgWdtClockConfig>
Returns the current configuration of the TIMG1_WDT_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_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_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