pub struct W(/* private fields */);
Expand description
Register WDTCR
writer
Implementations§
source§impl W
impl W
sourcepub fn wdpl(
&mut self
) -> FieldWriterRaw<'_, u8, WDTCR_SPEC, u8, WDPL_A, Safe, 3, 0>
pub fn wdpl( &mut self ) -> FieldWriterRaw<'_, u8, WDTCR_SPEC, u8, WDPL_A, Safe, 3, 0>
Bits 0:2 - Watchdog Timer Prescaler - Low Bits
sourcepub fn wde(&mut self) -> BitWriterRaw<'_, u8, WDTCR_SPEC, bool, BitM, 3>
pub fn wde(&mut self) -> BitWriterRaw<'_, u8, WDTCR_SPEC, bool, BitM, 3>
Bit 3 - Watch Dog Enable
sourcepub fn wdce(&mut self) -> BitWriterRaw<'_, u8, WDTCR_SPEC, bool, BitM, 4>
pub fn wdce(&mut self) -> BitWriterRaw<'_, u8, WDTCR_SPEC, bool, BitM, 4>
Bit 4 - Watchdog Change Enable
sourcepub fn wdph(&mut self) -> BitWriterRaw<'_, u8, WDTCR_SPEC, bool, BitM, 5>
pub fn wdph(&mut self) -> BitWriterRaw<'_, u8, WDTCR_SPEC, bool, BitM, 5>
Bit 5 - Watchdog Timer Prescaler - High Bit
sourcepub fn wdie(&mut self) -> BitWriterRaw<'_, u8, WDTCR_SPEC, bool, BitM, 6>
pub fn wdie(&mut self) -> BitWriterRaw<'_, u8, WDTCR_SPEC, bool, BitM, 6>
Bit 6 - Watchdog Timeout Interrupt Enable
sourcepub fn wdif(&mut self) -> BitWriterRaw<'_, u8, WDTCR_SPEC, bool, BitM, 7>
pub fn wdif(&mut self) -> BitWriterRaw<'_, u8, WDTCR_SPEC, bool, BitM, 7>
Bit 7 - Watchdog Timeout Interrupt Flag
Methods from Deref<Target = W<WDTCR_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