#[repr(transparent)]pub struct Csw(pub u32);Expand description
Command and Status Word
Tuple Fields§
§0: u32Implementations§
Source§impl Csw
impl Csw
Sourcepub const fn resynch_req(&self) -> bool
pub const fn resynch_req(&self) -> bool
Resynchronization Request
Sourcepub const fn set_resynch_req(&mut self, val: bool)
pub const fn set_resynch_req(&mut self, val: bool)
Resynchronization Request
Sourcepub const fn req_pending(&self) -> bool
pub const fn req_pending(&self) -> bool
Request Pending
Sourcepub const fn set_req_pending(&mut self, val: bool)
pub const fn set_req_pending(&mut self, val: bool)
Request Pending
Sourcepub const fn dbg_or_err(&self) -> bool
pub const fn dbg_or_err(&self) -> bool
DBGMB Overrun Error
Sourcepub const fn set_dbg_or_err(&mut self, val: bool)
pub const fn set_dbg_or_err(&mut self, val: bool)
DBGMB Overrun Error
Sourcepub const fn ahb_or_err(&self) -> bool
pub const fn ahb_or_err(&self) -> bool
AHB Overrun Error
Sourcepub const fn set_ahb_or_err(&mut self, val: bool)
pub const fn set_ahb_or_err(&mut self, val: bool)
AHB Overrun Error
Sourcepub const fn soft_reset(&self) -> bool
pub const fn soft_reset(&self) -> bool
Soft Reset
Sourcepub const fn set_soft_reset(&mut self, val: bool)
pub const fn set_soft_reset(&mut self, val: bool)
Soft Reset
Sourcepub const fn chip_reset_req(&self) -> bool
pub const fn chip_reset_req(&self) -> bool
Chip Reset Request
Sourcepub const fn set_chip_reset_req(&mut self, val: bool)
pub const fn set_chip_reset_req(&mut self, val: bool)
Chip Reset Request
Trait Implementations§
impl Copy for Csw
impl Eq for Csw
impl StructuralPartialEq for Csw
Auto Trait Implementations§
impl Freeze for Csw
impl RefUnwindSafe for Csw
impl Send for Csw
impl Sync for Csw
impl Unpin for Csw
impl UnwindSafe for Csw
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