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
?
Type Alias
atmega_hal
::
wdt
::
Wdt
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)