[][src]Struct drone_cortex_m::map::reg::itm::tcr::Hold

pub struct Hold<'a, _T: RegTag> { /* fields omitted */ }

Trace Control Register.

Methods

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn busy(&self) -> bool[src]

Indicates whether the ITM is currently processing events.

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]

pub fn gtsfreq(&self) -> u32[src]

Global timestamp frequency.

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]

pub fn swoena(&self) -> bool[src]

Enables asynchronous clocking of the timestamp counter.

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]

pub fn tsena(&self) -> bool[src]

Enables Local timestamp generation.

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]

pub fn itmena(&self) -> bool[src]

Enables the ITM.

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

impl<'a, _T> RegHold<'a, _T, Reg<_T>> for Hold<'a, _T> where
    _T: RegTag
[src]

Auto Trait Implementations

impl<'a, _T> Unpin for Hold<'a, _T>

impl<'a, _T> Send for Hold<'a, _T>

impl<'a, _T> Sync for Hold<'a, _T>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]