Struct Trcvdctlr
#[repr(transparent)]pub struct Trcvdctlr(pub u32);
Expand description
Controls data trace filtering. Might ignore writes when the trace unit is enabled or not idle. This register must be programmed when data tracing is enabled, that is, when either TRCCONFIGR.DA == 1 or TRCCONFIGR.DV == 1.
Tuple Fields§
§0: u32
Implementations§
§impl Trcvdctlr
impl Trcvdctlr
pub fn set_event_0(&mut self, val: bool)
pub fn set_event_0(&mut self, val: bool)
Event unit enable bit.
pub fn set_event_1(&mut self, val: bool)
pub fn set_event_1(&mut self, val: bool)
Event unit enable bit.
pub fn set_event_2(&mut self, val: bool)
pub fn set_event_2(&mut self, val: bool)
Event unit enable bit.
pub fn set_event_3(&mut self, val: bool)
pub fn set_event_3(&mut self, val: bool)
Event unit enable bit.
pub fn set_event_4(&mut self, val: bool)
pub fn set_event_4(&mut self, val: bool)
Event unit enable bit.
pub fn set_event_5(&mut self, val: bool)
pub fn set_event_5(&mut self, val: bool)
Event unit enable bit.
pub fn set_event_6(&mut self, val: bool)
pub fn set_event_6(&mut self, val: bool)
Event unit enable bit.
pub fn set_event_7(&mut self, val: bool)
pub fn set_event_7(&mut self, val: bool)
Event unit enable bit.
pub const fn sprel(&self) -> Sprel
pub const fn sprel(&self) -> Sprel
Controls whether a trace unit traces data for transfers that are relative to the Stack Pointer (SP).
pub fn set_sprel(&mut self, val: Sprel)
pub fn set_sprel(&mut self, val: Sprel)
Controls whether a trace unit traces data for transfers that are relative to the Stack Pointer (SP).
pub const fn pcrel(&self) -> Pcrel
pub const fn pcrel(&self) -> Pcrel
Controls whether a trace unit traces data for transfers that are relative to the Program Counter (PC).
pub fn set_pcrel(&mut self, val: Pcrel)
pub fn set_pcrel(&mut self, val: Pcrel)
Controls whether a trace unit traces data for transfers that are relative to the Program Counter (PC).
pub const fn tbi(&self) -> Tbi
pub const fn tbi(&self) -> Tbi
Controls which information a trace unit populates in bits[63:56] of the data address.
pub fn set_tbi(&mut self, val: Tbi)
pub fn set_tbi(&mut self, val: Tbi)
Controls which information a trace unit populates in bits[63:56] of the data address.
pub const fn trcexdata(&self) -> bool
pub const fn trcexdata(&self) -> bool
Controls the tracing of data transfers for exceptions and exception returns on Armv6-M, Armv7-M, and Armv8-M PEs.
pub fn set_trcexdata(&mut self, val: bool)
pub fn set_trcexdata(&mut self, val: bool)
Controls the tracing of data transfers for exceptions and exception returns on Armv6-M, Armv7-M, and Armv8-M PEs.
Trait Implementations§
impl Copy for Trcvdctlr
impl Eq for Trcvdctlr
impl StructuralPartialEq for Trcvdctlr
Auto Trait Implementations§
impl Freeze for Trcvdctlr
impl RefUnwindSafe for Trcvdctlr
impl Send for Trcvdctlr
impl Sync for Trcvdctlr
impl Unpin for Trcvdctlr
impl UnwindSafe for Trcvdctlr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)