Struct rp_pac::coresight_trace::regs::CtrlStatus
source · #[repr(transparent)]pub struct CtrlStatus(pub u32);
Expand description
Control and status register
Tuple Fields§
§0: u32
Implementations§
source§impl CtrlStatus
impl CtrlStatus
sourcepub const fn trace_capture_fifo_flush(&self) -> bool
pub const fn trace_capture_fifo_flush(&self) -> bool
Set to 1 to continuously hold the trace FIFO in a flushed state and prevent overflow. Before clearing this flag, configure and start a DMA channel with the correct DREQ for the TRACE_CAPTURE_FIFO register. Clear this flag to begin sampling trace data, and set once again once the trace capture buffer is full. You must configure the TPIU in order to generate trace packets to be captured, as well as components like the ETM further upstream to generate the event stream propagated to the TPIU.
sourcepub fn set_trace_capture_fifo_flush(&mut self, val: bool)
pub fn set_trace_capture_fifo_flush(&mut self, val: bool)
Set to 1 to continuously hold the trace FIFO in a flushed state and prevent overflow. Before clearing this flag, configure and start a DMA channel with the correct DREQ for the TRACE_CAPTURE_FIFO register. Clear this flag to begin sampling trace data, and set once again once the trace capture buffer is full. You must configure the TPIU in order to generate trace packets to be captured, as well as components like the ETM further upstream to generate the event stream propagated to the TPIU.
sourcepub const fn trace_capture_fifo_overflow(&self) -> bool
pub const fn trace_capture_fifo_overflow(&self) -> bool
This status flag is set high when trace data has been dropped due to the FIFO being full at the point trace data was sampled. Write 1 to acknowledge and clear the bit.
sourcepub fn set_trace_capture_fifo_overflow(&mut self, val: bool)
pub fn set_trace_capture_fifo_overflow(&mut self, val: bool)
This status flag is set high when trace data has been dropped due to the FIFO being full at the point trace data was sampled. Write 1 to acknowledge and clear the bit.
Trait Implementations§
source§impl Clone for CtrlStatus
impl Clone for CtrlStatus
source§fn clone(&self) -> CtrlStatus
fn clone(&self) -> CtrlStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CtrlStatus
impl Default for CtrlStatus
source§fn default() -> CtrlStatus
fn default() -> CtrlStatus
source§impl PartialEq for CtrlStatus
impl PartialEq for CtrlStatus
impl Copy for CtrlStatus
impl Eq for CtrlStatus
impl StructuralPartialEq for CtrlStatus
Auto Trait Implementations§
impl Freeze for CtrlStatus
impl RefUnwindSafe for CtrlStatus
impl Send for CtrlStatus
impl Sync for CtrlStatus
impl Unpin for CtrlStatus
impl UnwindSafe for CtrlStatus
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
)