Struct rp2040_pac2::watchdog::Watchdog [−][src]
Implementations
impl Watchdog
[src][−]
pub fn ctrl(self) -> Reg<Ctrl, RW>
[src][−]
Watchdog control The rst_wdsel register determines which subsystems are reset when the watchdog is triggered. The watchdog can be triggered in software.
pub fn load(self) -> Reg<Load, RW>
[src][−]
Load the watchdog timer. The maximum setting is 0xffffff which corresponds to 0xffffff / 2 ticks before triggering a watchdog reset (see errata RP2040-E1).
pub fn reason(self) -> Reg<Reason, RW>
[src][−]
Logs the reason for the last reset. Both bits are zero for the case of a hardware reset.
pub fn scratch0(self) -> Reg<u32, RW>
[src][−]
Scratch register. Information persists through soft reset of the chip.
pub fn scratch1(self) -> Reg<u32, RW>
[src][−]
Scratch register. Information persists through soft reset of the chip.
pub fn scratch2(self) -> Reg<u32, RW>
[src][−]
Scratch register. Information persists through soft reset of the chip.
pub fn scratch3(self) -> Reg<u32, RW>
[src][−]
Scratch register. Information persists through soft reset of the chip.
pub fn scratch4(self) -> Reg<u32, RW>
[src][−]
Scratch register. Information persists through soft reset of the chip.
pub fn scratch5(self) -> Reg<u32, RW>
[src][−]
Scratch register. Information persists through soft reset of the chip.
pub fn scratch6(self) -> Reg<u32, RW>
[src][−]
Scratch register. Information persists through soft reset of the chip.
pub fn scratch7(self) -> Reg<u32, RW>
[src][−]
Scratch register. Information persists through soft reset of the chip.
pub fn tick(self) -> Reg<Tick, RW>
[src][−]
Controls the tick generator
Trait Implementations
impl Clone for Watchdog
[src][+]
impl Copy for Watchdog
[src]
impl Send for Watchdog
[src]
impl Sync for Watchdog
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,