[][src]Struct probe_rs::architecture::arm::component::Dwt

pub struct Dwt<'probe: 'core, 'core> { /* fields omitted */ }

A struct representing a DWT unit on target.

Implementations

impl<'probe: 'core, 'core> Dwt<'probe, 'core>[src]

pub fn new(core: &'core mut Core<'probe>, component: &'core Component) -> Self[src]

Creates a new DWT component representation.

pub fn info(&mut self) -> Result<(), Error>[src]

Logs some info about the DWT component.

pub fn enable(&mut self) -> Result<(), Error>[src]

Enables the DWT component.

pub fn enable_data_trace(
    &mut self,
    unit: usize,
    address: u32
) -> Result<(), Error>
[src]

Enables data tracing on a specific address in memory on a specific DWT unit.

pub fn disable_data_trace(&mut self, unit: usize) -> Result<(), Error>[src]

Disables data tracing on the given unit.

pub fn enable_exception_trace(&mut self) -> Result<(), Error>[src]

Enable exception tracing.

pub fn disable_exception_trace(&mut self) -> Result<(), Error>[src]

Disable exception tracing.

Auto Trait Implementations

impl<'probe, 'core> !RefUnwindSafe for Dwt<'probe, 'core>

impl<'probe, 'core> !Send for Dwt<'probe, 'core>

impl<'probe, 'core> !Sync for Dwt<'probe, 'core>

impl<'probe, 'core> Unpin for Dwt<'probe, 'core> where
    'probe: 'core, 

impl<'probe, 'core> !UnwindSafe for Dwt<'probe, 'core>

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> 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.