Struct esp32c2_hal::pac::apb_ctrl::mem_power_down::W
pub struct W(_);
Expand description
Register MEM_POWER_DOWN
writer
Implementations§
§impl W
impl W
pub fn rom_power_down(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_POWER_DOWN_SPEC, u8, u8, Unsafe, 3, 0>
pub fn rom_power_down(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_POWER_DOWN_SPEC, u8, u8, Unsafe, 3, 0>
Bits 0:2 - Set 1 to let rom power down
pub fn sram_power_down(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_POWER_DOWN_SPEC, u8, u8, Unsafe, 4, 3>
pub fn sram_power_down(
&mut self
) -> FieldWriterRaw<'_, u32, MEM_POWER_DOWN_SPEC, u8, u8, Unsafe, 4, 3>
Bits 3:6 - Set 1 to let sram power down
Methods from Deref<Target = W<MEM_POWER_DOWN_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<MEM_POWER_DOWN_SPEC>> for W
impl From<W<MEM_POWER_DOWN_SPEC>> for W
§fn from(writer: W<MEM_POWER_DOWN_SPEC>) -> W
fn from(writer: W<MEM_POWER_DOWN_SPEC>) -> W
Converts to this type from the input type.