Struct esp32c2_hal::pac::apb_ctrl::mem_power_down::R
pub struct R(_);
Expand description
Register MEM_POWER_DOWN
reader
Implementations
impl R
impl R
pub fn rom_power_down(&self) -> FieldReaderRaw<u8, u8>
pub fn rom_power_down(&self) -> FieldReaderRaw<u8, u8>
Bits 0:2 - Set 1 to let rom power down
pub fn sram_power_down(&self) -> FieldReaderRaw<u8, u8>
pub fn sram_power_down(&self) -> FieldReaderRaw<u8, u8>
Bits 3:6 - Set 1 to let sram power down
Methods from Deref<Target = R<MEM_POWER_DOWN_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<MEM_POWER_DOWN_SPEC>> for R
impl From<R<MEM_POWER_DOWN_SPEC>> for R
fn from(reader: R<MEM_POWER_DOWN_SPEC>) -> R
fn from(reader: R<MEM_POWER_DOWN_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