pub struct Ewm { /* private fields */ }Expand description
External watchdog monitor. Configure write-once registers before enabling.
Implementations§
Source§impl Ewm
impl Ewm
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn ctrl(self) -> Reg<Ctrl, RW>
pub const fn ctrl(self) -> Reg<Ctrl, RW>
Control. EWMEN, ASSIN, and INEN can be written only once after CPU reset.
Sourcepub const fn serv(self) -> Reg<Serv, RW>
pub const fn serv(self) -> Reg<Serv, RW>
Refresh by writing 0xB4 followed by 0x2C within 15 peripheral bus clocks. Reads as zero.
Sourcepub const fn cmpl(self) -> Reg<Cmpl, RW>
pub const fn cmpl(self) -> Reg<Cmpl, RW>
Lower refresh-window bound. Write only once after CPU reset, before enabling.
Sourcepub const fn cmph(self) -> Reg<Cmph, RW>
pub const fn cmph(self) -> Reg<Cmph, RW>
Upper refresh-window bound. Write once before enabling; 0xFF prevents expiration.
Sourcepub const fn clkctrl(self) -> Reg<Clkctrl, RW>
pub const fn clkctrl(self) -> Reg<Clkctrl, RW>
Select the low-power clock. Write only once after CPU reset, before enabling.
Sourcepub const fn clkprescaler(self) -> Reg<Clkprescaler, RW>
pub const fn clkprescaler(self) -> Reg<Clkprescaler, RW>
Divide the selected clock by CLK_DIV + 1. Write once before enabling.
Trait Implementations§
impl Copy for Ewm
impl Eq for Ewm
impl Send for Ewm
impl StructuralPartialEq for Ewm
impl Sync for Ewm
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more