Struct esp32c2_hal::pac::system::perip_clk_en0::R
pub struct R(_);
Expand description
Register PERIP_CLK_EN0
reader
Implementations
impl R
impl R
pub fn spi01_clk_en(&self) -> BitReaderRaw<bool>
pub fn spi01_clk_en(&self) -> BitReaderRaw<bool>
Bit 1 - Set 1 to enable SPI01 clock
pub fn uart_clk_en(&self) -> BitReaderRaw<bool>
pub fn uart_clk_en(&self) -> BitReaderRaw<bool>
Bit 2 - Set 1 to enable UART clock
pub fn uart1_clk_en(&self) -> BitReaderRaw<bool>
pub fn uart1_clk_en(&self) -> BitReaderRaw<bool>
Bit 5 - Set 1 to enable UART1 clock
pub fn spi2_clk_en(&self) -> BitReaderRaw<bool>
pub fn spi2_clk_en(&self) -> BitReaderRaw<bool>
Bit 6 - Set 1 to enable SPI2 clock
pub fn i2c_ext0_clk_en(&self) -> BitReaderRaw<bool>
pub fn i2c_ext0_clk_en(&self) -> BitReaderRaw<bool>
Bit 7 - Set 1 to enable I2C_EXT0 clock
pub fn ledc_clk_en(&self) -> BitReaderRaw<bool>
pub fn ledc_clk_en(&self) -> BitReaderRaw<bool>
Bit 11 - Set 1 to enable LEDC clock
pub fn timergroup_clk_en(&self) -> BitReaderRaw<bool>
pub fn timergroup_clk_en(&self) -> BitReaderRaw<bool>
Bit 13 - Set 1 to enable TIMERGROUP clock
pub fn uart_mem_clk_en(&self) -> BitReaderRaw<bool>
pub fn uart_mem_clk_en(&self) -> BitReaderRaw<bool>
Bit 24 - Set 1 to enable UART_MEM clock
pub fn apb_saradc_clk_en(&self) -> BitReaderRaw<bool>
pub fn apb_saradc_clk_en(&self) -> BitReaderRaw<bool>
Bit 28 - Set 1 to enable APB_SARADC clock
pub fn systimer_clk_en(&self) -> BitReaderRaw<bool>
pub fn systimer_clk_en(&self) -> BitReaderRaw<bool>
Bit 29 - Set 1 to enable SYSTEMTIMER clock
pub fn adc2_arb_clk_en(&self) -> BitReaderRaw<bool>
pub fn adc2_arb_clk_en(&self) -> BitReaderRaw<bool>
Bit 30 - Set 1 to enable ADC2_ARB clock
Methods from Deref<Target = R<PERIP_CLK_EN0_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
impl From<R<PERIP_CLK_EN0_SPEC>> for R
impl From<R<PERIP_CLK_EN0_SPEC>> for R
fn from(reader: R<PERIP_CLK_EN0_SPEC>) -> R
fn from(reader: R<PERIP_CLK_EN0_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more