Struct esp32c3_hal::pac::system::perip_clk_en1::W
pub struct W(_);
Expand description
Register PERIP_CLK_EN1
writer
Implementations
impl W
impl W
pub fn crypto_aes_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 1>
pub fn crypto_aes_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 1>
Bit 1 - reg_crypto_aes_clk_en
pub fn crypto_sha_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 2>
pub fn crypto_sha_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 2>
Bit 2 - reg_crypto_sha_clk_en
pub fn crypto_rsa_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 3>
pub fn crypto_rsa_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 3>
Bit 3 - reg_crypto_rsa_clk_en
pub fn crypto_ds_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 4>
pub fn crypto_ds_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 4>
Bit 4 - reg_crypto_ds_clk_en
pub fn crypto_hmac_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 5>
pub fn crypto_hmac_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 5>
Bit 5 - reg_crypto_hmac_clk_en
pub fn dma_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 6>
pub fn dma_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 6>
Bit 6 - reg_dma_clk_en
pub fn sdio_host_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 7>
pub fn sdio_host_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 7>
Bit 7 - reg_sdio_host_clk_en
pub fn lcd_cam_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 8>
pub fn lcd_cam_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 8>
Bit 8 - reg_lcd_cam_clk_en
pub fn uart2_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 9>
pub fn uart2_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 9>
Bit 9 - reg_uart2_clk_en
pub fn tsens_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 10>
pub fn tsens_clk_en(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_CLK_EN1_SPEC, bool, BitM, 10>
Bit 10 - reg_tsens_clk_en
Methods from Deref<Target = W<PERIP_CLK_EN1_SPEC>>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations
impl From<W<PERIP_CLK_EN1_SPEC>> for W
impl From<W<PERIP_CLK_EN1_SPEC>> for W
fn from(writer: W<PERIP_CLK_EN1_SPEC>) -> W
fn from(writer: W<PERIP_CLK_EN1_SPEC>) -> W
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