pub struct DataPatch {
pub patch_type: Option<String>,
pub address: u32,
pub dp: Option<u32>,
pub ap: Option<u32>,
pub value: u32,
pub mask: Option<String>,
pub info: Option<String>,
pub apid: Option<u32>,
}Expand description
Represents a PDSC datapatch element
Fields§
§patch_type: Option<String>Access type; valid values: AP, Mem
address: u32Address to patch (hex or decimal string)
dp: Option<u32>Debug port index
ap: Option<u32>Access port index
value: u32Value to write during the patch (hex or decimal string)
mask: Option<String>Optional bitmask applied to the patch
info: Option<String>Descriptive text about the patch
apid: Option<u32>Access port identifier
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataPatch
impl<'de> Deserialize<'de> for DataPatch
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 DataPatch
impl StructuralPartialEq for DataPatch
Auto Trait Implementations§
impl Freeze for DataPatch
impl RefUnwindSafe for DataPatch
impl Send for DataPatch
impl Sync for DataPatch
impl Unpin for DataPatch
impl UnsafeUnpin for DataPatch
impl UnwindSafe for DataPatch
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