#[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.