[−][src]Struct probe_rs::architecture::arm::component::Dwt
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]
&mut self,
unit: usize,
address: u32
) -> Result<(), Error>
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,
'probe: 'core,
impl<'probe, 'core> !UnwindSafe for Dwt<'probe, 'core>
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,