Type Alias WDT

Source
pub type WDT = Periph<RegisterBlock, 96>;
Expand description

Watchdog Timer

Aliased Type§

struct WDT { /* private fields */ }

Trait Implementations§

Source§

impl WdtOps<Atmega> for WDT

Source§

type MCUSR = Reg<MCUSR_SPEC>

Source§

fn raw_init(&mut self, m: &Self::MCUSR)

Initialize the watchdog timer. Read more
Source§

fn raw_start(&mut self, timeout: Timeout) -> Result<(), ()>

Start the watchdog timer with the specified timeout. Read more
Source§

fn raw_feed(&mut self)

Feed this watchdog, to reset its period. Read more
Source§

fn raw_stop(&mut self)

Disable/stop this watchdog again. Read more