[][src]Trait probe_rs::architecture::arm::component::DebugRegister

pub trait DebugRegister: Clone + From<u32> + Into<u32> + Sized + Debug {
    const ADDRESS: u32;
    const NAME: &'static str;
    fn load(component: &Component, core: &mut Core<'_>) -> Result<Self, Error> { ... }
fn load_unit(
        component: &Component,
        core: &mut Core<'_>,
        unit: usize
    ) -> Result<Self, Error> { ... }
fn store(
        &self,
        component: &Component,
        core: &mut Core<'_>
    ) -> Result<(), Error> { ... }
fn store_unit(
        &self,
        component: &Component,
        core: &mut Core<'_>,
        unit: usize
    ) -> Result<(), Error> { ... } }

Associated Constants

const ADDRESS: u32

const NAME: &'static str

Loading content...

Provided methods

fn load(component: &Component, core: &mut Core<'_>) -> Result<Self, Error>

fn load_unit(
    component: &Component,
    core: &mut Core<'_>,
    unit: usize
) -> Result<Self, Error>

fn store(&self, component: &Component, core: &mut Core<'_>) -> Result<(), Error>

fn store_unit(
    &self,
    component: &Component,
    core: &mut Core<'_>,
    unit: usize
) -> Result<(), Error>

Loading content...

Implementors

Loading content...