Wdt
atmega_
hal
0.1.0
Wdt
Aliased Type
Methods
feed
new
start
stop
In atmega_
hal::
wdt
Enums
Timeout
Traits
WdtOps
Type Aliases
Wdt
atmega_hal
::
wdt
Type Alias
Wdt
Copy item path
Settings
Help
Summary
Source
pub type Wdt =
Wdt
<
Atmega
,
WDT
>;
Aliased Type
§
struct Wdt {
/* private fields */
}
Implementations
Source
§
impl<H, WDT>
Wdt
<H, WDT>
where WDT:
WdtOps
<H>,
Source
pub fn
new
(p: WDT, m: &<WDT as
WdtOps
<H>>::
MCUSR
) ->
Wdt
<H, WDT>
Source
pub fn
start
(&mut self, timeout:
Timeout
) ->
Result
<
()
,
()
>
Source
pub fn
feed
(&mut self)
Source
pub fn
stop
(&mut self)