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