#[repr(transparent)]pub struct Ctrl0(pub u32);Expand description
Control Register 0 SFR
Tuple Fields§
§0: u32Implementations§
Source§impl Ctrl0
impl Ctrl0
Sourcepub const fn write_index(&self) -> u8
pub const fn write_index(&self) -> u8
Write Index
Sourcepub const fn set_write_index(&mut self, val: u8)
pub const fn set_write_index(&mut self, val: u8)
Write Index
Sourcepub const fn reserved15(&self) -> u8
pub const fn reserved15(&self) -> u8
Reserved for Future Use
Sourcepub const fn set_reserved15(&mut self, val: u8)
pub const fn set_reserved15(&mut self, val: u8)
Reserved for Future Use
Sourcepub const fn set_wr_en_0(&mut self, val: u8)
pub const fn set_wr_en_0(&mut self, val: u8)
Write Enable 0
Sourcepub const fn sft_rst(&self) -> bool
pub const fn sft_rst(&self) -> bool
Soft reset for the core reset (SFR configuration will be preseved).This register reads as 0
Sourcepub const fn set_sft_rst(&mut self, val: bool)
pub const fn set_sft_rst(&mut self, val: bool)
Soft reset for the core reset (SFR configuration will be preseved).This register reads as 0
Sourcepub const fn reserved31(&self) -> u16
pub const fn reserved31(&self) -> u16
Reserved for Future Use
Sourcepub const fn set_reserved31(&mut self, val: u16)
pub const fn set_reserved31(&mut self, val: u16)
Reserved for Future Use
Trait Implementations§
impl Copy for Ctrl0
impl Eq for Ctrl0
impl StructuralPartialEq for Ctrl0
Auto Trait Implementations§
impl Freeze for Ctrl0
impl RefUnwindSafe for Ctrl0
impl Send for Ctrl0
impl Sync for Ctrl0
impl Unpin for Ctrl0
impl UnwindSafe for Ctrl0
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