#[repr(transparent)]pub struct Mod(pub u32);Expand description
Mode
Tuple Fields§
§0: u32Implementations§
Source§impl Mod
impl Mod
Sourcepub const fn set_wdreset(&mut self, val: Wdreset)
pub const fn set_wdreset(&mut self, val: Wdreset)
Watchdog Reset Enable
Sourcepub const fn set_wdprotect(&mut self, val: Wdprotect)
pub const fn set_wdprotect(&mut self, val: Wdprotect)
Watchdog Update Mode
Sourcepub const fn set_debug_en(&mut self, val: bool)
pub const fn set_debug_en(&mut self, val: bool)
Debug Enable
Trait Implementations§
impl Copy for Mod
impl Eq for Mod
impl StructuralPartialEq for Mod
Auto Trait Implementations§
impl Freeze for Mod
impl RefUnwindSafe for Mod
impl Send for Mod
impl Sync for Mod
impl Unpin for Mod
impl UnwindSafe for Mod
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