[][src]Struct cc13x2_cc26x2_hal::cpu_itm::tcr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

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

Value of the register as raw bits

pub fn reserved24(&self) -> RESERVED24R[src]

Bits 24:31 - 31:24] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.

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

Bit 23 - 23:23] Set when ITM events present and being drained.

pub fn atbid(&self) -> ATBIDR[src]

Bits 16:22 - 22:16] Trace Bus ID for CoreSight system. Optional identifier for multi-source trace stream formatting. If multi-source trace is in use, this field must be written with a non-zero value.

pub fn reserved10(&self) -> RESERVED10R[src]

Bits 10:15 - 15:10] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.

pub fn tsprescale(&self) -> TSPRESCALER[src]

Bits 8:9 - 9:8] Timestamp prescaler

pub fn reserved5(&self) -> RESERVED5R[src]

Bits 5:7 - 7:5] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.

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

Bit 4 - 4:4] Enables asynchronous clocking of the timestamp counter (when TSENA = 1). If TSENA = 0, writing this bit to 1 does not enable asynchronous clocking of the timestamp counter. 0x0: Mode disabled. Timestamp counter uses system clock from the core and counts continuously. 0x1: Timestamp counter uses lineout (data related) clock from TPIU interface. The timestamp counter is held in reset while the output line is idle.

pub fn dwtena(&self) -> DWTENAR[src]

Bit 3 - 3:3] Enables the DWT stimulus (hardware event packet emission to the TPIU from the DWT)

pub fn syncena(&self) -> SYNCENAR[src]

Bit 2 - 2:2] Enables synchronization packet transmission for a synchronous TPIU. CPU_DWT:CTRL.SYNCTAP must be configured for the correct synchronization speed.

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

Bit 1 - 1:1] Enables differential timestamps. Differential timestamps are emitted when a packet is written to the FIFO with a non-zero timestamp counter, and when the timestamp counter overflows. Timestamps are emitted during idle times after a fixed number of two million cycles. This provides a time reference for packets and inter-packet gaps. If SWOENA (bit [4]) is set, timestamps are triggered by activity on the internal trace bus only. In this case there is no regular timestamp output when the ITM is idle.

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

Bit 0 - 0:0] Enables ITM. This is the master enable, and must be set before ITM Stimulus and Trace Enable registers can be written.

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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, U> Into for T where
    U: From<T>, 
[src]

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

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

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

impl<T> Same for T

type Output = T

Should always be Self