#[repr(transparent)]pub struct Csw(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Csw
impl Csw
Sourcepub const fn resynch_req(&self) -> bool
pub const fn resynch_req(&self) -> bool
Debugger requests resynchronization; the core acknowledges with SOFT_RESET.
Sourcepub const fn set_resynch_req(&mut self, val: bool)
pub const fn set_resynch_req(&mut self, val: bool)
Debugger requests resynchronization; the core acknowledges with SOFT_RESET.
Sourcepub const fn req_pending(&self) -> bool
pub const fn req_pending(&self) -> bool
A debugger request is waiting for the core to read REQUEST.
Sourcepub const fn set_req_pending(&mut self, val: bool)
pub const fn set_req_pending(&mut self, val: bool)
A debugger request is waiting for the core to read REQUEST.
pub const fn dbg_or_err(&self) -> bool
pub const fn set_dbg_or_err(&mut self, val: bool)
pub const fn ahb_or_err(&self) -> bool
pub const fn set_ahb_or_err(&mut self, val: bool)
Sourcepub const fn soft_reset(&self) -> bool
pub const fn soft_reset(&self) -> bool
Write-only from the core. Reset the DM-AP.
Sourcepub const fn set_soft_reset(&mut self, val: bool)
pub const fn set_soft_reset(&mut self, val: bool)
Write-only from the core. Reset the DM-AP.
Sourcepub const fn chip_reset_req(&self) -> bool
pub const fn chip_reset_req(&self) -> bool
Write-only. Reset the chip, but not the DM-AP.
Sourcepub const fn set_chip_reset_req(&mut self, val: bool)
pub const fn set_chip_reset_req(&mut self, val: bool)
Write-only. Reset the chip, but not the DM-AP.
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