#[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 more