[−][src]Struct probe_rs::architecture::arm::m0::M0
Trait Implementations
impl<'probe> CoreInterface for M0<'probe>
[src]
fn wait_for_core_halted(&mut self, timeout: Duration) -> Result<(), Error>
[src]
fn core_halted(&mut self) -> Result<bool, Error>
[src]
fn read_core_reg(&mut self, addr: CoreRegisterAddress) -> Result<u32, Error>
[src]
fn write_core_reg(
&mut self,
addr: CoreRegisterAddress,
value: u32
) -> Result<()>
[src]
&mut self,
addr: CoreRegisterAddress,
value: u32
) -> Result<()>
fn halt(&mut self, timeout: Duration) -> Result<CoreInformation, Error>
[src]
fn run(&mut self) -> Result<(), Error>
[src]
fn step(&mut self) -> Result<CoreInformation, Error>
[src]
fn reset(&mut self) -> Result<(), Error>
[src]
fn reset_and_halt(
&mut self,
timeout: Duration
) -> Result<CoreInformation, Error>
[src]
&mut self,
timeout: Duration
) -> Result<CoreInformation, Error>
fn get_available_breakpoint_units(&mut self) -> Result<u32, Error>
[src]
fn enable_breakpoints(&mut self, state: bool) -> Result<(), Error>
[src]
fn set_breakpoint(
&mut self,
bp_register_index: usize,
addr: u32
) -> Result<(), Error>
[src]
&mut self,
bp_register_index: usize,
addr: u32
) -> Result<(), Error>
fn registers(&self) -> &'static RegisterFile
[src]
fn clear_breakpoint(&mut self, bp_unit_index: usize) -> Result<(), Error>
[src]
fn hw_breakpoints_enabled(&self) -> bool
[src]
fn architecture(&self) -> Architecture
[src]
fn status(&mut self) -> Result<CoreStatus, Error>
[src]
impl<'probe> MemoryInterface for M0<'probe>
[src]
fn read_word_32(&mut self, address: u32) -> Result<u32, Error>
[src]
fn read_word_8(&mut self, address: u32) -> Result<u8, Error>
[src]
fn read_32(&mut self, address: u32, data: &mut [u32]) -> Result<(), Error>
[src]
fn read_8(&mut self, address: u32, data: &mut [u8]) -> Result<(), Error>
[src]
fn write_word_32(&mut self, address: u32, data: u32) -> Result<(), Error>
[src]
fn write_word_8(&mut self, address: u32, data: u8) -> Result<(), Error>
[src]
fn write_32(&mut self, address: u32, data: &[u32]) -> Result<(), Error>
[src]
fn write_8(&mut self, address: u32, data: &[u8]) -> Result<(), Error>
[src]
fn flush(&mut self) -> Result<(), Error>
[src]
Auto Trait Implementations
impl<'probe> !RefUnwindSafe for M0<'probe>
impl<'probe> !Send for M0<'probe>
impl<'probe> !Sync for M0<'probe>
impl<'probe> Unpin for M0<'probe>
impl<'probe> !UnwindSafe for M0<'probe>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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, 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>,