Struct esp32s3::system::perip_clk_en0::R

source ·
pub struct R(_);
Expand description

Register PERIP_CLK_EN0 reader

Implementations§

source§

impl R

source

pub fn timers_clk_en(&self) -> TIMERS_CLK_EN_R

Bit 0 - Set 1 to enable TIMERS clock

source

pub fn spi01_clk_en(&self) -> SPI01_CLK_EN_R

Bit 1 - Set 1 to enable SPI01 clock

source

pub fn uart_clk_en(&self) -> UART_CLK_EN_R

Bit 2 - Set 1 to enable UART clock

source

pub fn wdg_clk_en(&self) -> WDG_CLK_EN_R

Bit 3 - Set 1 to enable WDG clock

source

pub fn i2s0_clk_en(&self) -> I2S0_CLK_EN_R

Bit 4 - Set 1 to enable I2S0 clock

source

pub fn uart1_clk_en(&self) -> UART1_CLK_EN_R

Bit 5 - Set 1 to enable UART1 clock

source

pub fn spi2_clk_en(&self) -> SPI2_CLK_EN_R

Bit 6 - Set 1 to enable SPI2 clock

source

pub fn i2c_ext0_clk_en(&self) -> I2C_EXT0_CLK_EN_R

Bit 7 - Set 1 to enable I2C_EXT0 clock

source

pub fn uhci0_clk_en(&self) -> UHCI0_CLK_EN_R

Bit 8 - Set 1 to enable UHCI0 clock

source

pub fn rmt_clk_en(&self) -> RMT_CLK_EN_R

Bit 9 - Set 1 to enable RMT clock

source

pub fn pcnt_clk_en(&self) -> PCNT_CLK_EN_R

Bit 10 - Set 1 to enable PCNT clock

source

pub fn ledc_clk_en(&self) -> LEDC_CLK_EN_R

Bit 11 - Set 1 to enable LEDC clock

source

pub fn uhci1_clk_en(&self) -> UHCI1_CLK_EN_R

Bit 12 - Set 1 to enable UHCI1 clock

source

pub fn timergroup_clk_en(&self) -> TIMERGROUP_CLK_EN_R

Bit 13 - Set 1 to enable TIMERGROUP clock

source

pub fn efuse_clk_en(&self) -> EFUSE_CLK_EN_R

Bit 14 - Set 1 to enable EFUSE clock

source

pub fn timergroup1_clk_en(&self) -> TIMERGROUP1_CLK_EN_R

Bit 15 - Set 1 to enable TIMERGROUP1 clock

source

pub fn spi3_clk_en(&self) -> SPI3_CLK_EN_R

Bit 16 - Set 1 to enable SPI3 clock

source

pub fn pwm0_clk_en(&self) -> PWM0_CLK_EN_R

Bit 17 - Set 1 to enable PWM0 clock

source

pub fn i2c_ext1_clk_en(&self) -> I2C_EXT1_CLK_EN_R

Bit 18 - Set 1 to enable I2C_EXT1 clock

source

pub fn twai_clk_en(&self) -> TWAI_CLK_EN_R

Bit 19 - Set 1 to enable CAN clock

source

pub fn pwm1_clk_en(&self) -> PWM1_CLK_EN_R

Bit 20 - Set 1 to enable PWM1 clock

source

pub fn i2s1_clk_en(&self) -> I2S1_CLK_EN_R

Bit 21 - Set 1 to enable I2S1 clock

source

pub fn spi2_dma_clk_en(&self) -> SPI2_DMA_CLK_EN_R

Bit 22 - Set 1 to enable SPI2_DMA clock

source

pub fn usb_clk_en(&self) -> USB_CLK_EN_R

Bit 23 - Set 1 to enable USB clock

source

pub fn uart_mem_clk_en(&self) -> UART_MEM_CLK_EN_R

Bit 24 - Set 1 to enable UART_MEM clock

source

pub fn pwm2_clk_en(&self) -> PWM2_CLK_EN_R

Bit 25 - Set 1 to enable PWM2 clock

source

pub fn pwm3_clk_en(&self) -> PWM3_CLK_EN_R

Bit 26 - Set 1 to enable PWM3 clock

source

pub fn spi3_dma_clk_en(&self) -> SPI3_DMA_CLK_EN_R

Bit 27 - Set 1 to enable SPI4 clock

source

pub fn apb_saradc_clk_en(&self) -> APB_SARADC_CLK_EN_R

Bit 28 - Set 1 to enable APB_SARADC clock

source

pub fn systimer_clk_en(&self) -> SYSTIMER_CLK_EN_R

Bit 29 - Set 1 to enable SYSTEMTIMER clock

source

pub fn adc2_arb_clk_en(&self) -> ADC2_ARB_CLK_EN_R

Bit 30 - Set 1 to enable ADC2_ARB clock

source

pub fn spi4_clk_en(&self) -> SPI4_CLK_EN_R

Bit 31 - Set 1 to enable SPI4 clock

Methods from Deref<Target = R<PERIP_CLK_EN0_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<PERIP_CLK_EN0_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<PERIP_CLK_EN0_SPEC>> for R

source§

fn from(reader: R<PERIP_CLK_EN0_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · source§

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, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.