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
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