#[repr(transparent)]pub struct Wdsel(pub u32);
Expand description
Set to 1 if this peripheral should be reset when the watchdog fires.
Tuple Fields§
§0: u32
Implementations§
source§impl Wdsel
impl Wdsel
pub const fn rosc(&self) -> bool
pub fn set_rosc(&mut self, val: bool)
pub const fn xosc(&self) -> bool
pub fn set_xosc(&mut self, val: bool)
pub const fn clocks(&self) -> bool
pub fn set_clocks(&mut self, val: bool)
pub const fn resets(&self) -> bool
pub fn set_resets(&mut self, val: bool)
pub const fn busfabric(&self) -> bool
pub fn set_busfabric(&mut self, val: bool)
pub const fn rom(&self) -> bool
pub fn set_rom(&mut self, val: bool)
pub const fn sram0(&self) -> bool
pub fn set_sram0(&mut self, val: bool)
pub const fn sram1(&self) -> bool
pub fn set_sram1(&mut self, val: bool)
pub const fn sram2(&self) -> bool
pub fn set_sram2(&mut self, val: bool)
pub const fn sram3(&self) -> bool
pub fn set_sram3(&mut self, val: bool)
pub const fn sram4(&self) -> bool
pub fn set_sram4(&mut self, val: bool)
pub const fn sram5(&self) -> bool
pub fn set_sram5(&mut self, val: bool)
pub const fn xip(&self) -> bool
pub fn set_xip(&mut self, val: bool)
pub const fn vreg_and_chip_reset(&self) -> bool
pub fn set_vreg_and_chip_reset(&mut self, val: bool)
pub const fn sio(&self) -> bool
pub fn set_sio(&mut self, val: bool)
pub const fn proc0(&self) -> bool
pub fn set_proc0(&mut self, val: bool)
pub const fn proc1(&self) -> bool
pub fn set_proc1(&mut self, val: bool)
Trait Implementations§
impl Copy for Wdsel
impl Eq for Wdsel
impl StructuralPartialEq for Wdsel
Auto Trait Implementations§
impl Freeze for Wdsel
impl RefUnwindSafe for Wdsel
impl Send for Wdsel
impl Sync for Wdsel
impl Unpin for Wdsel
impl UnwindSafe for Wdsel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)