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: u32Implementations§
§impl Trcvdctlr
impl Trcvdctlr
pub const fn set_event_0(&mut self, val: bool)
pub const fn set_event_0(&mut self, val: bool)
Event unit enable bit.
pub const fn set_event_1(&mut self, val: bool)
pub const fn set_event_1(&mut self, val: bool)
Event unit enable bit.
pub const fn set_event_2(&mut self, val: bool)
pub const fn set_event_2(&mut self, val: bool)
Event unit enable bit.
pub const fn set_event_3(&mut self, val: bool)
pub const fn set_event_3(&mut self, val: bool)
Event unit enable bit.
pub const fn set_event_4(&mut self, val: bool)
pub const fn set_event_4(&mut self, val: bool)
Event unit enable bit.
pub const fn set_event_5(&mut self, val: bool)
pub const fn set_event_5(&mut self, val: bool)
Event unit enable bit.
pub const fn set_event_6(&mut self, val: bool)
pub const fn set_event_6(&mut self, val: bool)
Event unit enable bit.
pub const fn set_event_7(&mut self, val: bool)
pub const 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 const fn set_sprel(&mut self, val: Sprel)
pub const 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 const fn set_pcrel(&mut self, val: Pcrel)
pub const 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 const fn set_tbi(&mut self, val: Tbi)
pub const 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 const fn set_trcexdata(&mut self, val: bool)
pub const 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.