pub struct W(/* private fields */);
Expand description
Register HIGH
writer
Implementations§
source§impl W
impl W
sourcepub fn bootrst(&mut self) -> BitWriterRaw<'_, u8, HIGH_SPEC, bool, BitM, 0>
pub fn bootrst(&mut self) -> BitWriterRaw<'_, u8, HIGH_SPEC, bool, BitM, 0>
Bit 0 - Boot Reset vector Enabled
sourcepub fn bootsz(
&mut self
) -> FieldWriterRaw<'_, u8, HIGH_SPEC, u8, BOOTSZ_A, Safe, 2, 1>
pub fn bootsz( &mut self ) -> FieldWriterRaw<'_, u8, HIGH_SPEC, u8, BOOTSZ_A, Safe, 2, 1>
Bits 1:2 - Select boot size
sourcepub fn eesave(&mut self) -> BitWriterRaw<'_, u8, HIGH_SPEC, bool, BitM, 3>
pub fn eesave(&mut self) -> BitWriterRaw<'_, u8, HIGH_SPEC, bool, BitM, 3>
Bit 3 - Preserve EEPROM through the Chip Erase cycle
sourcepub fn wdton(&mut self) -> BitWriterRaw<'_, u8, HIGH_SPEC, bool, BitM, 4>
pub fn wdton(&mut self) -> BitWriterRaw<'_, u8, HIGH_SPEC, bool, BitM, 4>
Bit 4 - Watch-dog Timer always on
sourcepub fn spien(&mut self) -> BitWriterRaw<'_, u8, HIGH_SPEC, bool, BitM, 5>
pub fn spien(&mut self) -> BitWriterRaw<'_, u8, HIGH_SPEC, bool, BitM, 5>
Bit 5 - Serial program downloading (SPI) enabled
sourcepub fn dwen(&mut self) -> BitWriterRaw<'_, u8, HIGH_SPEC, bool, BitM, 6>
pub fn dwen(&mut self) -> BitWriterRaw<'_, u8, HIGH_SPEC, bool, BitM, 6>
Bit 6 - Debug Wire enable
Methods from Deref<Target = W<HIGH_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