[−][src]Struct probe_rs::architecture::arm::ap::MemoryAP
Implementations
impl MemoryAP
[src]
impl MemoryAP
[src]
pub fn base_address<A>(&self, interface: &mut A) -> Result<u64, DebugProbeError> where
A: APAccess<MemoryAP, BASE, Error = DebugProbeError> + APAccess<MemoryAP, BASE2, Error = DebugProbeError>,
[src]
A: APAccess<MemoryAP, BASE, Error = DebugProbeError> + APAccess<MemoryAP, BASE2, Error = DebugProbeError>,
Trait Implementations
impl<R> APAccess<MemoryAP, R> for ArmCommunicationInterface where
R: APRegister<MemoryAP>,
[src]
R: APRegister<MemoryAP>,
type Error = DebugProbeError
pub fn read_ap_register(
&mut self,
port: impl Into<MemoryAP>,
register: R
) -> Result<R, Self::Error>
[src]
&mut self,
port: impl Into<MemoryAP>,
register: R
) -> Result<R, Self::Error>
pub fn write_ap_register(
&mut self,
port: impl Into<MemoryAP>,
register: R
) -> Result<(), Self::Error>
[src]
&mut self,
port: impl Into<MemoryAP>,
register: R
) -> Result<(), Self::Error>
pub fn write_ap_register_repeated(
&mut self,
port: impl Into<MemoryAP>,
register: R,
values: &[u32]
) -> Result<(), Self::Error>
[src]
&mut self,
port: impl Into<MemoryAP>,
register: R,
values: &[u32]
) -> Result<(), Self::Error>
pub fn read_ap_register_repeated(
&mut self,
port: impl Into<MemoryAP>,
register: R,
values: &mut [u32]
) -> Result<(), Self::Error>
[src]
&mut self,
port: impl Into<MemoryAP>,
register: R,
values: &mut [u32]
) -> Result<(), Self::Error>
impl APRegister<MemoryAP> for BASE
[src]
impl APRegister<MemoryAP> for BASE2
[src]
impl APRegister<MemoryAP> for CSW
[src]
impl APRegister<MemoryAP> for DRW
[src]
impl APRegister<MemoryAP> for TAR
[src]
impl AccessPort for MemoryAP
[src]
pub fn port_number(&self) -> u8
[src]
impl Clone for MemoryAP
[src]
impl Copy for MemoryAP
[src]
impl Debug for MemoryAP
[src]
impl From<GenericAP> for MemoryAP
[src]
impl From<u8> for MemoryAP
[src]
Auto Trait Implementations
impl RefUnwindSafe for MemoryAP
impl Send for MemoryAP
impl Sync for MemoryAP
impl Unpin for MemoryAP
impl UnwindSafe for MemoryAP
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,