Struct Trctraceidr
#[repr(transparent)]pub struct Trctraceidr(pub u32);Expand description
Sets the trace ID for instruction trace. If data trace is enabled then it also sets the trace ID for data trace, to (trace ID for instruction trace) + 1. This register must always be programmed as part of trace unit initialization. Might ignore writes when the trace unit is enabled or not idle.
Tuple Fields§
§0: u32Implementations§
§impl Trctraceidr
impl Trctraceidr
pub const fn traceid(&self) -> u8
pub const fn traceid(&self) -> u8
Trace ID field. Sets the trace ID value for instruction trace. Bit[0] must be zero if data trace is enabled. If data trace is enabled then a trace unit sets the trace ID for data trace, to TRACEID+1.
pub const fn set_traceid(&mut self, val: u8)
pub const fn set_traceid(&mut self, val: u8)
Trace ID field. Sets the trace ID value for instruction trace. Bit[0] must be zero if data trace is enabled. If data trace is enabled then a trace unit sets the trace ID for data trace, to TRACEID+1.
Trait Implementations§
§impl Clone for Trctraceidr
impl Clone for Trctraceidr
§fn clone(&self) -> Trctraceidr
fn clone(&self) -> Trctraceidr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Trctraceidr
§impl Debug for Trctraceidr
impl Debug for Trctraceidr
§impl Default for Trctraceidr
impl Default for Trctraceidr
§fn default() -> Trctraceidr
fn default() -> Trctraceidr
Returns the “default value” for a type. Read more
impl Eq for Trctraceidr
§impl PartialEq for Trctraceidr
impl PartialEq for Trctraceidr
impl StructuralPartialEq for Trctraceidr
Auto Trait Implementations§
impl Freeze for Trctraceidr
impl RefUnwindSafe for Trctraceidr
impl Send for Trctraceidr
impl Sync for Trctraceidr
impl Unpin for Trctraceidr
impl UnsafeUnpin for Trctraceidr
impl UnwindSafe for Trctraceidr
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