#[repr(transparent)]pub struct Dbgforce(pub u32);
Expand description
Directly control the SWD debug port of either processor
Tuple Fields§
§0: u32
Implementations§
source§impl Dbgforce
impl Dbgforce
sourcepub const fn proc0_swdo(&self) -> bool
pub const fn proc0_swdo(&self) -> bool
Observe the value of processor 0 SWDIO output.
sourcepub fn set_proc0_swdo(&mut self, val: bool)
pub fn set_proc0_swdo(&mut self, val: bool)
Observe the value of processor 0 SWDIO output.
sourcepub const fn proc0_swdi(&self) -> bool
pub const fn proc0_swdi(&self) -> bool
Directly drive processor 0 SWDIO input, if PROC0_ATTACH is set
sourcepub fn set_proc0_swdi(&mut self, val: bool)
pub fn set_proc0_swdi(&mut self, val: bool)
Directly drive processor 0 SWDIO input, if PROC0_ATTACH is set
sourcepub const fn proc0_swclk(&self) -> bool
pub const fn proc0_swclk(&self) -> bool
Directly drive processor 0 SWCLK, if PROC0_ATTACH is set
sourcepub fn set_proc0_swclk(&mut self, val: bool)
pub fn set_proc0_swclk(&mut self, val: bool)
Directly drive processor 0 SWCLK, if PROC0_ATTACH is set
sourcepub const fn proc0_attach(&self) -> bool
pub const fn proc0_attach(&self) -> bool
Attach processor 0 debug port to syscfg controls, and disconnect it from external SWD pads.
sourcepub fn set_proc0_attach(&mut self, val: bool)
pub fn set_proc0_attach(&mut self, val: bool)
Attach processor 0 debug port to syscfg controls, and disconnect it from external SWD pads.
sourcepub const fn proc1_swdo(&self) -> bool
pub const fn proc1_swdo(&self) -> bool
Observe the value of processor 1 SWDIO output.
sourcepub fn set_proc1_swdo(&mut self, val: bool)
pub fn set_proc1_swdo(&mut self, val: bool)
Observe the value of processor 1 SWDIO output.
sourcepub const fn proc1_swdi(&self) -> bool
pub const fn proc1_swdi(&self) -> bool
Directly drive processor 1 SWDIO input, if PROC1_ATTACH is set
sourcepub fn set_proc1_swdi(&mut self, val: bool)
pub fn set_proc1_swdi(&mut self, val: bool)
Directly drive processor 1 SWDIO input, if PROC1_ATTACH is set
sourcepub const fn proc1_swclk(&self) -> bool
pub const fn proc1_swclk(&self) -> bool
Directly drive processor 1 SWCLK, if PROC1_ATTACH is set
sourcepub fn set_proc1_swclk(&mut self, val: bool)
pub fn set_proc1_swclk(&mut self, val: bool)
Directly drive processor 1 SWCLK, if PROC1_ATTACH is set
sourcepub const fn proc1_attach(&self) -> bool
pub const fn proc1_attach(&self) -> bool
Attach processor 1 debug port to syscfg controls, and disconnect it from external SWD pads.
sourcepub fn set_proc1_attach(&mut self, val: bool)
pub fn set_proc1_attach(&mut self, val: bool)
Attach processor 1 debug port to syscfg controls, and disconnect it from external SWD pads.
Trait Implementations§
impl Copy for Dbgforce
impl Eq for Dbgforce
impl StructuralPartialEq for Dbgforce
Auto Trait Implementations§
impl Freeze for Dbgforce
impl RefUnwindSafe for Dbgforce
impl Send for Dbgforce
impl Sync for Dbgforce
impl Unpin for Dbgforce
impl UnwindSafe for Dbgforce
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
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)
clone_to_uninit
)