[−]Struct probe_rs::architecture::arm::m0::BpCtrl
Methods
impl BpCtrl
pub fn num_code(&self) -> u32
The number of breakpoint comparators. If NUM_CODE is zero, the implementation does not support any comparators
pub fn key(&self) -> bool
RAZ on reads, SBO, for writes. If written as zero, the write to the register is ignored.
pub fn set_key(&mut self, value: bool)
RAZ on reads, SBO, for writes. If written as zero, the write to the register is ignored.
pub fn set_enable(&mut self, value: bool)
Enables the BPU: 0 BPU is disabled. 1 BPU is enabled. This bit is set to 0 on a power-on reset
Trait Implementations
impl<T> BitRange<T> for BpCtrl where
u32: BitRange<T>,
u32: BitRange<T>,
fn bit_range(&self, msb: usize, lsb: usize) -> T
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
impl Clone for BpCtrl
[src]
impl Copy for BpCtrl
[src]
impl Debug for BpCtrl
impl From<BpCtrl> for u32
[src]
impl From<u32> for BpCtrl
[src]
Auto Trait Implementations
impl RefUnwindSafe for BpCtrl
impl Send for BpCtrl
impl Sync for BpCtrl
impl Unpin for BpCtrl
impl UnwindSafe for BpCtrl
Blanket Implementations
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>,
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> 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, 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>,