Struct drone_cortexm::map::reg::itm::tcr::Hold [−][src]
Trace Control Register.
Implementations
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn trace_bus_id(&self) -> u32
[src][−]
Identifier for multi-source trace stream formatting.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn write_trace_bus_id(&mut self, bits: u32) -> &mut Self
[src][−]
Identifier for multi-source trace stream formatting.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn write_gtsfreq(&mut self, bits: u32) -> &mut Self
[src][−]
Global timestamp frequency.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn ts_prescale(&self) -> u32
[src][−]
Local timestamp prescaler, used with the trace packet reference clock.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn write_ts_prescale(&mut self, bits: u32) -> &mut Self
[src][−]
Local timestamp prescaler, used with the trace packet reference clock.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn set_swoena(&mut self) -> &mut Self
[src][−]
Enables asynchronous clocking of the timestamp counter.
pub fn clear_swoena(&mut self) -> &mut Self
[src][−]
Enables asynchronous clocking of the timestamp counter.
pub fn toggle_swoena(&mut self) -> &mut Self
[src][−]
Enables asynchronous clocking of the timestamp counter.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn txena(&self) -> bool
[src][−]
Enables forwarding of hardware event packet from the DWT unit to the ITM for output to the TPIU.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn set_txena(&mut self) -> &mut Self
[src][−]
Enables forwarding of hardware event packet from the DWT unit to the ITM for output to the TPIU.
pub fn clear_txena(&mut self) -> &mut Self
[src][−]
Enables forwarding of hardware event packet from the DWT unit to the ITM for output to the TPIU.
pub fn toggle_txena(&mut self) -> &mut Self
[src][−]
Enables forwarding of hardware event packet from the DWT unit to the ITM for output to the TPIU.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn syncena(&self) -> bool
[src][−]
Enables Synchronization packet transmission for a synchronous TPIU.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn set_syncena(&mut self) -> &mut Self
[src][−]
Enables Synchronization packet transmission for a synchronous TPIU.
pub fn clear_syncena(&mut self) -> &mut Self
[src][−]
Enables Synchronization packet transmission for a synchronous TPIU.
pub fn toggle_syncena(&mut self) -> &mut Self
[src][−]
Enables Synchronization packet transmission for a synchronous TPIU.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn set_tsena(&mut self) -> &mut Self
[src][−]
Enables Local timestamp generation.
pub fn clear_tsena(&mut self) -> &mut Self
[src][−]
Enables Local timestamp generation.
pub fn toggle_tsena(&mut self) -> &mut Self
[src][−]
Enables Local timestamp generation.
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
impl<'a, _T: RegTag> Hold<'a, _T>
[src][−]
pub fn set_itmena(&mut self) -> &mut Self
[src][−]
Enables the ITM.
pub fn clear_itmena(&mut self) -> &mut Self
[src][−]
Enables the ITM.
pub fn toggle_itmena(&mut self) -> &mut Self
[src][−]
Enables the ITM.
Trait Implementations
Auto Trait Implementations
impl<'a, _T> Send for Hold<'a, _T>
impl<'a, _T> Sync for Hold<'a, _T>
impl<'a, _T> Unpin for Hold<'a, _T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,