[][src]Struct xmc4_hal::wdt::Wdt

pub struct Wdt {
    wdt: *const RegisterBlock,
}

Fields

wdt: *const RegisterBlock

Methods

impl Wdt[src]

pub fn new() -> Wdt[src]

pub fn enable(&self)[src]

pub fn disable(&self)[src]

pub fn set_window_bounds(self, lower: u32, upper: u32)[src]

pub fn start(self)[src]

pub fn stop(self)[src]

pub fn set_mode(self, mode: Mode)[src]

pub fn set_service_pulse_width(self, pulse_width: u8)[src]

pub fn set_debug_mode(self, mode: DebugMode)[src]

pub fn get_counter(self) -> u32[src]

pub fn service(self)[src]

pub fn clear_alarm(self)[src]

Auto Trait Implementations

impl Unpin for Wdt

impl !Send for Wdt

impl !Sync for Wdt

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self