[−]Struct debug_probe::target::m0::BpCompx
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 CoreRegister for BpCompx
[src]
impl Clone for BpCompx
[src]
impl From<u32> for BpCompx
[src]
impl From<BpCompx> for u32
[src]
impl Copy for BpCompx
[src]
impl Debug for BpCompx
impl<T> BitRange<T> for BpCompx where
u32: BitRange<T>,
u32: BitRange<T>,
Auto Trait Implementations
impl Send for BpCompx
impl Unpin for BpCompx
impl Sync for BpCompx
impl RefUnwindSafe for BpCompx
impl UnwindSafe for BpCompx
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Bit for T where
T: BitRange<u8>,
[src]
T: BitRange<u8>,