atmega_
hal
0.1.0
WDT
Aliased Type
Trait Implementations
WdtOps<Atmega>
In atmega_
hal::
pac
atmega_hal
::
pac
Type Alias
WDT
Copy item path
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