Struct esp32c2_hal::pac::apb_ctrl::clkgate_force_on::W
pub struct W(_);
Expand description
Register CLKGATE_FORCE_ON
writer
Implementations
impl W
impl W
pub fn rom_clkgate_force_on(
&mut self
) -> FieldWriterRaw<'_, u32, CLKGATE_FORCE_ON_SPEC, u8, u8, Unsafe, 3, 0>
pub fn rom_clkgate_force_on(
&mut self
) -> FieldWriterRaw<'_, u32, CLKGATE_FORCE_ON_SPEC, u8, u8, Unsafe, 3, 0>
Bits 0:2 - Set the bit to 1 to force rom always have clock, for low power can clear to 0 then only when have access the rom have clock
pub fn sram_clkgate_force_on(
&mut self
) -> FieldWriterRaw<'_, u32, CLKGATE_FORCE_ON_SPEC, u8, u8, Unsafe, 4, 3>
pub fn sram_clkgate_force_on(
&mut self
) -> FieldWriterRaw<'_, u32, CLKGATE_FORCE_ON_SPEC, u8, u8, Unsafe, 4, 3>
Bits 3:6 - Set the bit to 1 to force sram always have clock, for low power can clear to 0 then only when have access the sram have clock
Methods from Deref<Target = W<CLKGATE_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<CLKGATE_FORCE_ON_SPEC>> for W
impl From<W<CLKGATE_FORCE_ON_SPEC>> for W
fn from(writer: W<CLKGATE_FORCE_ON_SPEC>) -> W
fn from(writer: W<CLKGATE_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