pub struct W(/* private fields */);
Expand description
Register MCUCR
writer
Implementations§
source§impl W
impl W
sourcepub fn bodse(&mut self) -> BitWriterRaw<'_, u8, MCUCR_SPEC, bool, BitM, 2>
pub fn bodse(&mut self) -> BitWriterRaw<'_, u8, MCUCR_SPEC, bool, BitM, 2>
Bit 2 - BOD Sleep Enable (available on some devices)
sourcepub fn sm(&mut self) -> FieldWriterRaw<'_, u8, MCUCR_SPEC, u8, SM_A, Safe, 2, 3>
pub fn sm(&mut self) -> FieldWriterRaw<'_, u8, MCUCR_SPEC, u8, SM_A, Safe, 2, 3>
Bits 3:4 - Sleep Mode Select Bits
sourcepub fn se(&mut self) -> BitWriterRaw<'_, u8, MCUCR_SPEC, bool, BitM, 5>
pub fn se(&mut self) -> BitWriterRaw<'_, u8, MCUCR_SPEC, bool, BitM, 5>
Bit 5 - Sleep Enable
sourcepub fn pud(&mut self) -> BitWriterRaw<'_, u8, MCUCR_SPEC, bool, BitM, 6>
pub fn pud(&mut self) -> BitWriterRaw<'_, u8, MCUCR_SPEC, bool, BitM, 6>
Bit 6 - Pull-up Disable
sourcepub fn bods(&mut self) -> BitWriterRaw<'_, u8, MCUCR_SPEC, bool, BitM, 7>
pub fn bods(&mut self) -> BitWriterRaw<'_, u8, MCUCR_SPEC, bool, BitM, 7>
Bit 7 - BOD Sleep (available on some devices)
Methods from Deref<Target = W<MCUCR_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more