Trait probe_rs::architecture::arm::dp::RawDpAccess[][src]

pub trait RawDpAccess {
    fn read_raw_dp_register(
        &mut self,
        bank: DpBankSel,
        address: u8
    ) -> Result<u32, DebugPortError>;
fn write_raw_dp_register(
        &mut self,
        bank: DpBankSel,
        address: u8,
        value: u32
    ) -> Result<(), DebugPortError>;
fn debug_port_version(&self) -> DebugPortVersion; }
Expand description

An interface to write arbitrary Debug Port registers freely in a type-unsafe manner identifying them by bank number and register address. For a type-safe interface see the DpAccess trait.

Required methods

Reads a Debug Port register on the Chip.

Writes a Debug Port register on the Chip.

Returns the version of the Debug Port implementation.

Implementors