#[repr(transparent)]pub struct Sr(pub u32);Expand description
Status
Tuple Fields§
§0: u32Implementations§
Source§impl Sr
impl Sr
Sourcepub const fn set_ecc_sf(&mut self, val: bool)
pub const fn set_ecc_sf(&mut self, val: bool)
ECC single fault
Sourcepub const fn set_ecc_df(&mut self, val: bool)
pub const fn set_ecc_df(&mut self, val: bool)
ECC double fault
Sourcepub const fn rd_fuse_lock(&self) -> bool
pub const fn rd_fuse_lock(&self) -> bool
Read fuse lock error
Sourcepub const fn set_rd_fuse_lock(&mut self, val: bool)
pub const fn set_rd_fuse_lock(&mut self, val: bool)
Read fuse lock error
Sourcepub const fn wr_fuse_lock(&self) -> bool
pub const fn wr_fuse_lock(&self) -> bool
Write fuse lock error
Sourcepub const fn set_wr_fuse_lock(&mut self, val: bool)
pub const fn set_wr_fuse_lock(&mut self, val: bool)
Write fuse lock error
Sourcepub const fn rd_reg_lock(&self) -> bool
pub const fn rd_reg_lock(&self) -> bool
Read register lock error
Sourcepub const fn set_rd_reg_lock(&mut self, val: bool)
pub const fn set_rd_reg_lock(&mut self, val: bool)
Read register lock error
Sourcepub const fn wr_reg_lock(&self) -> bool
pub const fn wr_reg_lock(&self) -> bool
Write register lock error
Sourcepub const fn set_wr_reg_lock(&mut self, val: bool)
pub const fn set_wr_reg_lock(&mut self, val: bool)
Write register lock error
Sourcepub const fn wr_reg_busy(&self) -> bool
pub const fn wr_reg_busy(&self) -> bool
Write register when busy error
Sourcepub const fn set_wr_reg_busy(&mut self, val: bool)
pub const fn set_wr_reg_busy(&mut self, val: bool)
Write register when busy error
Sourcepub const fn wr_power_off(&self) -> bool
pub const fn wr_power_off(&self) -> bool
Write when power off error
Sourcepub const fn set_wr_power_off(&mut self, val: bool)
pub const fn set_wr_power_off(&mut self, val: bool)
Write when power off error
Trait Implementations§
impl Copy for Sr
impl Eq for Sr
impl StructuralPartialEq for Sr
Auto Trait Implementations§
impl Freeze for Sr
impl RefUnwindSafe for Sr
impl Send for Sr
impl Sync for Sr
impl Unpin for Sr
impl UnwindSafe for Sr
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