Skip to main content

ClockTree

Struct ClockTree 

Source
pub struct ClockTree { /* private fields */ }
Available on crate feature unstable only.
Expand description

Represents the device’s clock tree.

Implementations§

Source§

impl ClockTree

Source

pub fn with<R>(f: impl FnOnce(&mut ClockTree) -> R) -> R

Locks the clock tree for exclusive access.

Source

pub fn xtal_clk(&self) -> Option<XtalClkConfig>

Returns the current configuration of the XTAL_CLK clock tree node

Source

pub fn hp_root_clk(&self) -> Option<HpRootClkConfig>

Returns the current configuration of the HP_ROOT_CLK clock tree node

Source

pub fn cpu_clk(&self) -> Option<CpuClkConfig>

Returns the current configuration of the CPU_CLK clock tree node

Source

pub fn ahb_clk(&self) -> Option<AhbClkConfig>

Returns the current configuration of the AHB_CLK clock tree node

Source

pub fn mspi_fast_clk(&self) -> Option<MspiFastClkConfig>

Returns the current configuration of the MSPI_FAST_CLK clock tree node

Source

pub fn soc_root_clk(&self) -> Option<SocRootClkConfig>

Returns the current configuration of the SOC_ROOT_CLK clock tree node

Source

pub fn cpu_hs_div(&self) -> Option<CpuHsDivConfig>

Returns the current configuration of the CPU_HS_DIV clock tree node

Source

pub fn cpu_ls_div(&self) -> Option<CpuLsDivConfig>

Returns the current configuration of the CPU_LS_DIV clock tree node

Source

pub fn ahb_hs_div(&self) -> Option<AhbHsDivConfig>

Returns the current configuration of the AHB_HS_DIV clock tree node

Source

pub fn ahb_ls_div(&self) -> Option<AhbLsDivConfig>

Returns the current configuration of the AHB_LS_DIV clock tree node

Source

pub fn apb_clk(&self) -> Option<ApbClkConfig>

Returns the current configuration of the APB_CLK clock tree node

Source

pub fn mspi_fast_hs_clk(&self) -> Option<MspiFastHsClkConfig>

Returns the current configuration of the MSPI_FAST_HS_CLK clock tree node

Source

pub fn mspi_fast_ls_clk(&self) -> Option<MspiFastLsClkConfig>

Returns the current configuration of the MSPI_FAST_LS_CLK clock tree node

Source

pub fn ledc_sclk(&self) -> Option<LedcSclkConfig>

Returns the current configuration of the LEDC_SCLK clock tree node

Source

pub fn lp_fast_clk(&self) -> Option<LpFastClkConfig>

Returns the current configuration of the LP_FAST_CLK clock tree node

Source

pub fn lp_slow_clk(&self) -> Option<LpSlowClkConfig>

Returns the current configuration of the LP_SLOW_CLK clock tree node

Source

pub fn timg_calibration_clock(&self) -> Option<TimgCalibrationClockConfig>

Returns the current configuration of the TIMG_CALIBRATION_CLOCK clock tree node

Source

pub fn mcpwm0_function_clock(&self) -> Option<McpwmFunctionClockConfig>

Returns the current configuration of the MCPWM0_FUNCTION_CLOCK clock tree node

Source

pub fn parl_io_rx_clock(&self) -> Option<ParlIoRxClockConfig>

Returns the current configuration of the PARL_IO_RX_CLOCK clock tree node

Source

pub fn parl_io_tx_clock(&self) -> Option<ParlIoTxClockConfig>

Returns the current configuration of the PARL_IO_TX_CLOCK clock tree node

Source

pub fn rmt_sclk(&self) -> Option<RmtSclkConfig>

Returns the current configuration of the RMT_SCLK clock tree node

Source

pub fn timg0_function_clock(&self) -> Option<TimgFunctionClockConfig>

Returns the current configuration of the TIMG0_FUNCTION_CLOCK clock tree node

Source

pub fn timg0_wdt_clock(&self) -> Option<TimgWdtClockConfig>

Returns the current configuration of the TIMG0_WDT_CLOCK clock tree node

Source

pub fn timg1_function_clock(&self) -> Option<TimgFunctionClockConfig>

Returns the current configuration of the TIMG1_FUNCTION_CLOCK clock tree node

Source

pub fn timg1_wdt_clock(&self) -> Option<TimgWdtClockConfig>

Returns the current configuration of the TIMG1_WDT_CLOCK clock tree node

Source

pub fn uart0_function_clock(&self) -> Option<UartFunctionClockConfig>

Returns the current configuration of the UART0_FUNCTION_CLOCK clock tree node

Source

pub fn uart0_baud_rate_generator(&self) -> Option<UartBaudRateGeneratorConfig>

Returns the current configuration of the UART0_BAUD_RATE_GENERATOR clock tree node

Source

pub fn uart1_function_clock(&self) -> Option<UartFunctionClockConfig>

Returns the current configuration of the UART1_FUNCTION_CLOCK clock tree node

Source

pub fn uart1_baud_rate_generator(&self) -> Option<UartBaudRateGeneratorConfig>

Returns the current configuration of the UART1_BAUD_RATE_GENERATOR clock tree node

Auto Trait Implementations§

§

impl Freeze for ClockTree

§

impl RefUnwindSafe for ClockTree

§

impl Send for ClockTree

§

impl Sync for ClockTree

§

impl Unpin for ClockTree

§

impl UnsafeUnpin for ClockTree

§

impl UnwindSafe for ClockTree

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.