Struct rp2040_pac2::syscfg::regs::Dbgforce[][src]

#[repr(transparent)]pub struct Dbgforce(pub u32);

Directly control the SWD debug port of either processor

Implementations

impl Dbgforce[src]

pub const fn proc1_attach(&self) -> bool[src]

Attach processor 1 debug port to syscfg controls, and disconnect it from external SWD pads.

pub fn set_proc1_attach(&mut self, val: bool)[src]

Attach processor 1 debug port to syscfg controls, and disconnect it from external SWD pads.

pub const fn proc1_swclk(&self) -> bool[src]

Directly drive processor 1 SWCLK, if PROC1_ATTACH is set

pub fn set_proc1_swclk(&mut self, val: bool)[src]

Directly drive processor 1 SWCLK, if PROC1_ATTACH is set

pub const fn proc1_swdi(&self) -> bool[src]

Directly drive processor 1 SWDIO input, if PROC1_ATTACH is set

pub fn set_proc1_swdi(&mut self, val: bool)[src]

Directly drive processor 1 SWDIO input, if PROC1_ATTACH is set

pub const fn proc1_swdo(&self) -> bool[src]

Observe the value of processor 1 SWDIO output.

pub fn set_proc1_swdo(&mut self, val: bool)[src]

Observe the value of processor 1 SWDIO output.

pub const fn proc0_attach(&self) -> bool[src]

Attach processor 0 debug port to syscfg controls, and disconnect it from external SWD pads.

pub fn set_proc0_attach(&mut self, val: bool)[src]

Attach processor 0 debug port to syscfg controls, and disconnect it from external SWD pads.

pub const fn proc0_swclk(&self) -> bool[src]

Directly drive processor 0 SWCLK, if PROC0_ATTACH is set

pub fn set_proc0_swclk(&mut self, val: bool)[src]

Directly drive processor 0 SWCLK, if PROC0_ATTACH is set

pub const fn proc0_swdi(&self) -> bool[src]

Directly drive processor 0 SWDIO input, if PROC0_ATTACH is set

pub fn set_proc0_swdi(&mut self, val: bool)[src]

Directly drive processor 0 SWDIO input, if PROC0_ATTACH is set

pub const fn proc0_swdo(&self) -> bool[src]

Observe the value of processor 0 SWDIO output.

pub fn set_proc0_swdo(&mut self, val: bool)[src]

Observe the value of processor 0 SWDIO output.

Trait Implementations

impl Clone for Dbgforce[src]

impl Copy for Dbgforce[src]

impl Default for Dbgforce[src]

Auto Trait Implementations

impl Send for Dbgforce

impl Sync for Dbgforce

impl Unpin for Dbgforce

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.