Struct esp32c2_hal::pac::system::perip_clk_en1::R
pub struct R(_);
Expand description
Register PERIP_CLK_EN1
reader
Implementations
impl R
impl R
pub fn crypto_ecc_clk_en(&self) -> BitReaderRaw<bool>
pub fn crypto_ecc_clk_en(&self) -> BitReaderRaw<bool>
Bit 1 - Set 1 to enable ECC clock
pub fn crypto_sha_clk_en(&self) -> BitReaderRaw<bool>
pub fn crypto_sha_clk_en(&self) -> BitReaderRaw<bool>
Bit 2 - Set 1 to enable SHA clock
pub fn dma_clk_en(&self) -> BitReaderRaw<bool>
pub fn dma_clk_en(&self) -> BitReaderRaw<bool>
Bit 6 - Set 1 to enable DMA clock
pub fn tsens_clk_en(&self) -> BitReaderRaw<bool>
pub fn tsens_clk_en(&self) -> BitReaderRaw<bool>
Bit 10 - Set 1 to enable TSENS clock
Methods from Deref<Target = R<PERIP_CLK_EN1_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_EN1_SPEC>> for R
impl From<R<PERIP_CLK_EN1_SPEC>> for R
fn from(reader: R<PERIP_CLK_EN1_SPEC>) -> R
fn from(reader: R<PERIP_CLK_EN1_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