[]Struct probe_rs::cores::m0::BpCompx

pub struct BpCompx(pub u32);

Methods

impl BpCompx

pub fn set_bp_match(&mut self, value: u32)

BP_MATCH defines the behavior when the COMP address is matched:

  • 00 no breakpoint matching.
  • 01 breakpoint on lower halfword, upper is unaffected.
  • 10 breakpoint on upper halfword, lower is unaffected.
  • 11 breakpoint on both lower and upper halfwords.
  • The field is UNKNOWN on reset.

pub fn set_comp(&mut self, value: u32)

Stores bits [28:2] of the comparison address. The comparison address is compared with the address from the Code memory region. Bits [31:29] and [1:0] of the comparison address are zero. The field is UNKNOWN on power-on reset.

pub fn set_enable(&mut self, value: bool)

Enables the comparator: 0 comparator is disabled. 1 comparator is enabled. This bit is set to 0 on a power-on reset.

Trait Implementations

impl<T> BitRange<T> for BpCompx where
    u32: BitRange<T>, 

impl Clone for BpCompx[src]

impl Copy for BpCompx[src]

impl CoreRegister for BpCompx[src]

impl Debug for BpCompx

impl From<BpCompx> for u32[src]

impl From<u32> for BpCompx[src]

Auto Trait Implementations

impl RefUnwindSafe for BpCompx

impl Send for BpCompx

impl Sync for BpCompx

impl Unpin for BpCompx

impl UnwindSafe for BpCompx

Blanket Implementations

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

impl<T> Bit for T where
    T: BitRange<u8>, 
[src]

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

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

impl<T> DynClone for T where
    T: Clone
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.