#[repr(transparent)]pub struct Dmcontrol(pub u32);
Expand description
Debug Module Control
Tuple Fields§
§0: u32
Implementations§
Source§impl Dmcontrol
impl Dmcontrol
Sourcepub const fn set_dmactive(&mut self, val: bool)
pub const fn set_dmactive(&mut self, val: bool)
Reset signal for the debug module.
Sourcepub const fn set_ndmreset(&mut self, val: bool)
pub const fn set_ndmreset(&mut self, val: bool)
Reset signal output from the debug module to the system.
Sourcepub const fn clrresethaltreq(&self) -> Clrresethaltreq
pub const fn clrresethaltreq(&self) -> Clrresethaltreq
Clear the halt on reset request.
Sourcepub const fn set_clrresethaltreq(&mut self, val: Clrresethaltreq)
pub const fn set_clrresethaltreq(&mut self, val: Clrresethaltreq)
Clear the halt on reset request.
Sourcepub const fn setresethaltreq(&self) -> Setresethaltreq
pub const fn setresethaltreq(&self) -> Setresethaltreq
Set the halt on reset request.
Sourcepub const fn set_setresethaltreq(&mut self, val: Setresethaltreq)
pub const fn set_setresethaltreq(&mut self, val: Setresethaltreq)
Set the halt on reset request.
Sourcepub const fn set_hartselhi(&mut self, val: u16)
pub const fn set_hartselhi(&mut self, val: u16)
The high 10 bits of hartsel.
Sourcepub const fn set_hartsello(&mut self, val: u16)
pub const fn set_hartsello(&mut self, val: u16)
The low 10 bits of hartsel.
Sourcepub const fn ackhavereset(&self) -> Ackhavereset
pub const fn ackhavereset(&self) -> Ackhavereset
Clear the havereset.
Sourcepub const fn set_ackhavereset(&mut self, val: Ackhavereset)
pub const fn set_ackhavereset(&mut self, val: Ackhavereset)
Clear the havereset.
Sourcepub const fn set_hartreset(&mut self, val: bool)
pub const fn set_hartreset(&mut self, val: bool)
Reset harts.
Sourcepub const fn set_resumereq(&mut self, val: Resumereq)
pub const fn set_resumereq(&mut self, val: Resumereq)
Resume currently selected harts.
Sourcepub const fn set_haltreq(&mut self, val: Haltreq)
pub const fn set_haltreq(&mut self, val: Haltreq)
Halt currently selected harts.
Trait Implementations§
impl Copy for Dmcontrol
impl Eq for Dmcontrol
impl StructuralPartialEq for Dmcontrol
Auto Trait Implementations§
impl Freeze for Dmcontrol
impl RefUnwindSafe for Dmcontrol
impl Send for Dmcontrol
impl Sync for Dmcontrol
impl Unpin for Dmcontrol
impl UnwindSafe for Dmcontrol
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
)