#[repr(transparent)]pub struct Trcstallctlr(pub u32);
Expand description
Enables trace unit functionality that prevents trace unit buffer overflows. Might ignore writes when the trace unit is enabled or not idle. Must be programmed if TRCIDR3.STALLCTL == 1.
Tuple Fields§
§0: u32
Implementations§
Source§impl Trcstallctlr
impl Trcstallctlr
Sourcepub const fn level(&self) -> Level
pub const fn level(&self) -> Level
Threshold level field. If LEVEL is nonzero then a trace unit might suppress the generation of: Global timestamps in the instruction trace stream and the data trace stream. Cycle counting in the instruction trace stream, although the cumulative cycle count remains correct.
Sourcepub fn set_level(&mut self, val: Level)
pub fn set_level(&mut self, val: Level)
Threshold level field. If LEVEL is nonzero then a trace unit might suppress the generation of: Global timestamps in the instruction trace stream and the data trace stream. Cycle counting in the instruction trace stream, although the cumulative cycle count remains correct.
Sourcepub const fn istall(&self) -> bool
pub const fn istall(&self) -> bool
Instruction stall bit. Controls if a trace unit can stall the PE when the instruction trace buffer space is less than LEVEL.
Sourcepub fn set_istall(&mut self, val: bool)
pub fn set_istall(&mut self, val: bool)
Instruction stall bit. Controls if a trace unit can stall the PE when the instruction trace buffer space is less than LEVEL.
Sourcepub const fn dstall(&self) -> bool
pub const fn dstall(&self) -> bool
Data stall bit. Controls if a trace unit can stall the PE when the data trace buffer space is less than LEVEL.
Sourcepub fn set_dstall(&mut self, val: bool)
pub fn set_dstall(&mut self, val: bool)
Data stall bit. Controls if a trace unit can stall the PE when the data trace buffer space is less than LEVEL.
Sourcepub const fn instpriority(&self) -> bool
pub const fn instpriority(&self) -> bool
Prioritize instruction trace bit. Controls if a trace unit can prioritize instruction trace when the instruction trace buffer space is less than LEVEL.
Sourcepub fn set_instpriority(&mut self, val: bool)
pub fn set_instpriority(&mut self, val: bool)
Prioritize instruction trace bit. Controls if a trace unit can prioritize instruction trace when the instruction trace buffer space is less than LEVEL.
Sourcepub const fn datadiscardload(&self) -> bool
pub const fn datadiscardload(&self) -> bool
Data discard field. Controls if a trace unit can discard data trace elements on a load when the data trace buffer space is less than LEVEL.
Sourcepub fn set_datadiscardload(&mut self, val: bool)
pub fn set_datadiscardload(&mut self, val: bool)
Data discard field. Controls if a trace unit can discard data trace elements on a load when the data trace buffer space is less than LEVEL.
Sourcepub const fn datadiscardstore(&self) -> bool
pub const fn datadiscardstore(&self) -> bool
Data discard field. Controls if a trace unit can discard data trace elements on a store when the data trace buffer space is less than LEVEL.
Sourcepub fn set_datadiscardstore(&mut self, val: bool)
pub fn set_datadiscardstore(&mut self, val: bool)
Data discard field. Controls if a trace unit can discard data trace elements on a store when the data trace buffer space is less than LEVEL.
Sourcepub const fn nooverflow(&self) -> bool
pub const fn nooverflow(&self) -> bool
Trace overflow prevention bit.
Sourcepub fn set_nooverflow(&mut self, val: bool)
pub fn set_nooverflow(&mut self, val: bool)
Trace overflow prevention bit.
Trait Implementations§
Source§impl Clone for Trcstallctlr
impl Clone for Trcstallctlr
Source§fn clone(&self) -> Trcstallctlr
fn clone(&self) -> Trcstallctlr
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for Trcstallctlr
impl Default for Trcstallctlr
Source§fn default() -> Trcstallctlr
fn default() -> Trcstallctlr
Source§impl PartialEq for Trcstallctlr
impl PartialEq for Trcstallctlr
impl Copy for Trcstallctlr
impl Eq for Trcstallctlr
impl StructuralPartialEq for Trcstallctlr
Auto Trait Implementations§
impl Freeze for Trcstallctlr
impl RefUnwindSafe for Trcstallctlr
impl Send for Trcstallctlr
impl Sync for Trcstallctlr
impl Unpin for Trcstallctlr
impl UnwindSafe for Trcstallctlr
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
)