Struct sam4l::wdt::Wdt
[−]
[src]
pub struct Wdt { registers: *mut WdtRegisters, enabled: Cell<bool>, }
Fields
registers: *mut WdtRegisters
enabled: Cell<bool>
Methods
impl Wdt
[src]
const fn new(base_address: *mut WdtRegisters) -> Wdt
[src]
fn start(&self, period: usize)
[src]
fn stop(&self)
[src]
fn tickle(&self)
[src]
Trait Implementations
impl Watchdog for Wdt
[src]
fn start(&self, period: usize)
[src]
Enable the watchdog timer. Period is the time in milliseconds the watchdog will timeout if not serviced. Read more
fn stop(&self)
[src]
Disable the watchdog timer.
fn tickle(&self)
[src]
Service the watchdog to let the hardware know the application is still executing. Read more