Struct esp32c2_hal::pac::extmem::cache_encrypt_decrypt_clk_force_on::W
pub struct W(_);
Expand description
Register CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON
writer
Implementations
impl W
impl W
pub fn clk_force_on_manual_crypt(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON_SPEC, bool, BitM, 0>
pub fn clk_force_on_manual_crypt(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON_SPEC, bool, BitM, 0>
Bit 0 - The bit is used to close clock gating of manual crypt clock. 1: close gating, 0: open clock gating.
pub fn clk_force_on_auto_crypt(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON_SPEC, bool, BitM, 1>
pub fn clk_force_on_auto_crypt(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON_SPEC, bool, BitM, 1>
Bit 1 - The bit is used to close clock gating of automatic crypt clock. 1: close gating, 0: open clock gating.
pub fn clk_force_on_crypt(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON_SPEC, bool, BitM, 2>
pub fn clk_force_on_crypt(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON_SPEC, bool, BitM, 2>
Bit 2 - The bit is used to close clock gating of external memory encrypt and decrypt clock. 1: close gating, 0: open clock gating.
Methods from Deref<Target = W<CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON_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<CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON_SPEC>> for W
impl From<W<CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON_SPEC>> for W
fn from(writer: W<CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON_SPEC>) -> W
fn from(writer: W<CACHE_ENCRYPT_DECRYPT_CLK_FORCE_ON_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