pub struct DebugPort {
pub dp: Option<u32>,
pub jtag: Option<DebugPortJtag>,
pub swd: Option<DebugPortSwd>,
}Expand description
Represents a PDSC debugport element
Fields§
§dp: Option<u32>Debug port index
jtag: Option<DebugPortJtag>JTAG port configuration
swd: Option<DebugPortSwd>SWD port configuration
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DebugPort
impl<'de> Deserialize<'de> for DebugPort
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DebugPort
impl StructuralPartialEq for DebugPort
Auto Trait Implementations§
impl Freeze for DebugPort
impl RefUnwindSafe for DebugPort
impl Send for DebugPort
impl Sync for DebugPort
impl Unpin for DebugPort
impl UnsafeUnpin for DebugPort
impl UnwindSafe for DebugPort
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