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 cpll_clk(&self) -> Option<CpllClkConfig>
pub fn cpll_clk(&self) -> Option<CpllClkConfig>
Returns the current configuration of the CPLL_CLK clock tree node
Sourcepub fn mpll_clk(&self) -> Option<MpllClkConfig>
pub fn mpll_clk(&self) -> Option<MpllClkConfig>
Returns the current configuration of the MPLL_CLK clock tree node
Sourcepub fn iomux_function_clock(&self) -> Option<IomuxFunctionClockConfig>
pub fn iomux_function_clock(&self) -> Option<IomuxFunctionClockConfig>
Returns the current configuration of the IOMUX_FUNCTION_CLOCK clock tree node
Sourcepub fn cpu_root_clk(&self) -> Option<CpuRootClkConfig>
pub fn cpu_root_clk(&self) -> Option<CpuRootClkConfig>
Returns the current configuration of the CPU_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 mem_clk(&self) -> Option<MemClkConfig>
pub fn mem_clk(&self) -> Option<MemClkConfig>
Returns the current configuration of the MEM_CLK clock tree node
Sourcepub fn sys_clk(&self) -> Option<SysClkConfig>
pub fn sys_clk(&self) -> Option<SysClkConfig>
Returns the current configuration of the SYS_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 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 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
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_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
Sourcepub fn uart3_function_clock(&self) -> Option<UartFunctionClockConfig>
pub fn uart3_function_clock(&self) -> Option<UartFunctionClockConfig>
Returns the current configuration of the UART3_FUNCTION_CLOCK clock tree node
Sourcepub fn uart3_baud_rate_generator(&self) -> Option<UartBaudRateGeneratorConfig>
pub fn uart3_baud_rate_generator(&self) -> Option<UartBaudRateGeneratorConfig>
Returns the current configuration of the UART3_BAUD_RATE_GENERATOR clock tree node
Sourcepub fn uart4_function_clock(&self) -> Option<UartFunctionClockConfig>
pub fn uart4_function_clock(&self) -> Option<UartFunctionClockConfig>
Returns the current configuration of the UART4_FUNCTION_CLOCK clock tree node
Sourcepub fn uart4_baud_rate_generator(&self) -> Option<UartBaudRateGeneratorConfig>
pub fn uart4_baud_rate_generator(&self) -> Option<UartBaudRateGeneratorConfig>
Returns the current configuration of the UART4_BAUD_RATE_GENERATOR clock tree node
Sourcepub fn spi2_function_clock(&self) -> Option<SpiFunctionClockConfig>
pub fn spi2_function_clock(&self) -> Option<SpiFunctionClockConfig>
Returns the current configuration of the SPI2_FUNCTION_CLOCK clock tree node
Sourcepub fn spi3_function_clock(&self) -> Option<SpiFunctionClockConfig>
pub fn spi3_function_clock(&self) -> Option<SpiFunctionClockConfig>
Returns the current configuration of the SPI3_FUNCTION_CLOCK clock tree node
Sourcepub fn i2c0_function_clock(&self) -> Option<I2cFunctionClockConfig>
pub fn i2c0_function_clock(&self) -> Option<I2cFunctionClockConfig>
Returns the current configuration of the I2C0_FUNCTION_CLOCK clock tree node
Sourcepub fn i2c1_function_clock(&self) -> Option<I2cFunctionClockConfig>
pub fn i2c1_function_clock(&self) -> Option<I2cFunctionClockConfig>
Returns the current configuration of the I2C1_FUNCTION_CLOCK clock tree node
Sourcepub fn mipi_dsi_dpi_clk(&self) -> Option<MipiDsiDpiClkConfig>
pub fn mipi_dsi_dpi_clk(&self) -> Option<MipiDsiDpiClkConfig>
Returns the current configuration of the MIPI_DSI_DPI_CLK clock tree node
Sourcepub fn mipi_dsi_phy_pll_refclk(&self) -> Option<MipiDsiPhyPllRefclkConfig>
pub fn mipi_dsi_phy_pll_refclk(&self) -> Option<MipiDsiPhyPllRefclkConfig>
Returns the current configuration of the MIPI_DSI_PHY_PLL_REFCLK clock tree node
Sourcepub fn mipi_dsi_phy_cfg_clk(&self) -> Option<MipiDsiPhyCfgClkConfig>
pub fn mipi_dsi_phy_cfg_clk(&self) -> Option<MipiDsiPhyCfgClkConfig>
Returns the current configuration of the MIPI_DSI_PHY_CFG_CLK 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 psram_function_clock(&self) -> Option<PsramFunctionClockConfig>
pub fn psram_function_clock(&self) -> Option<PsramFunctionClockConfig>
Returns the current configuration of the PSRAM_FUNCTION_CLOCK clock tree node