[][src]Struct probe_rs::architecture::arm::m0::BpCtrl

pub struct BpCtrl(pub u32);

Methods

impl BpCtrl[src]

pub fn num_code(&self) -> u32[src]

The number of breakpoint comparators. If NUM_CODE is zero, the implementation does not support any comparators

pub fn key(&self) -> bool[src]

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)[src]

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)[src]

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>, 
[src]

impl Clone for BpCtrl[src]

impl Copy for BpCtrl[src]

impl Debug for BpCtrl[src]

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]

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> 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.