pub trait WdtOps<H> {
    type MCUSR;

    fn raw_init(&mut self, m: &Self::MCUSR);
    fn raw_start(&mut self, timeout: Timeout) -> Result<(), ()>;
    fn raw_feed(&mut self);
    fn raw_stop(&mut self);
}
Expand description

Internal trait for low-level watchdog operations.

HAL users should use the Wdt type instead.

Required Associated Types

Required Methods

Initialize the watchdog timer.

Warning: This is a low-level method and should not be called directly from user code.

Start the watchdog timer with the specified timeout.

If the timeout value is not supported, Err(()) should be returned.

Warning: This is a low-level method and should not be called directly from user code.

Feed this watchdog, to reset its period.

Warning: This is a low-level method and should not be called directly from user code.

Disable/stop this watchdog again.

Warning: This is a low-level method and should not be called directly from user code.

Implementors