[−][src]Trait probe_rs::architecture::arm::ap::APAccess
Associated Types
Loading content...Required methods
pub fn read_ap_register(
&mut self,
port: impl Into<PORT>,
register: R
) -> Result<R, Self::Error>
&mut self,
port: impl Into<PORT>,
register: R
) -> Result<R, Self::Error>
pub fn read_ap_register_repeated(
&mut self,
port: impl Into<PORT> + Clone,
register: R,
values: &mut [u32]
) -> Result<(), Self::Error>
&mut self,
port: impl Into<PORT> + Clone,
register: R,
values: &mut [u32]
) -> Result<(), Self::Error>
Read a register using a block transfer. This can be used to read multiple values from the same register.
pub fn write_ap_register(
&mut self,
port: impl Into<PORT>,
register: R
) -> Result<(), Self::Error>
&mut self,
port: impl Into<PORT>,
register: R
) -> Result<(), Self::Error>
pub fn write_ap_register_repeated(
&mut self,
port: impl Into<PORT> + Clone,
register: R,
values: &[u32]
) -> Result<(), Self::Error>
&mut self,
port: impl Into<PORT> + Clone,
register: R,
values: &[u32]
) -> Result<(), Self::Error>
Write a register using a block transfer. This can be used to write multiple values to the same register.
Implementations on Foreign Types
impl<T, PORT, R, '_> APAccess<PORT, R> for &'_ mut T where
T: APAccess<PORT, R>,
PORT: AccessPort,
R: APRegister<PORT>,
[src]
T: APAccess<PORT, R>,
PORT: AccessPort,
R: APRegister<PORT>,
type Error = T::Error
pub fn read_ap_register(
&mut self,
port: impl Into<PORT>,
register: R
) -> Result<R, Self::Error>
[src]
&mut self,
port: impl Into<PORT>,
register: R
) -> Result<R, Self::Error>
pub fn write_ap_register(
&mut self,
port: impl Into<PORT>,
register: R
) -> Result<(), Self::Error>
[src]
&mut self,
port: impl Into<PORT>,
register: R
) -> Result<(), Self::Error>
pub fn write_ap_register_repeated(
&mut self,
port: impl Into<PORT> + Clone,
register: R,
values: &[u32]
) -> Result<(), Self::Error>
[src]
&mut self,
port: impl Into<PORT> + Clone,
register: R,
values: &[u32]
) -> Result<(), Self::Error>
pub fn read_ap_register_repeated(
&mut self,
port: impl Into<PORT> + Clone,
register: R,
values: &mut [u32]
) -> Result<(), Self::Error>
[src]
&mut self,
port: impl Into<PORT> + Clone,
register: R,
values: &mut [u32]
) -> Result<(), Self::Error>
Implementors
impl<R> APAccess<GenericAP, R> for ArmCommunicationInterface where
R: APRegister<GenericAP>,
[src]
R: APRegister<GenericAP>,
type Error = DebugProbeError
pub fn read_ap_register(
&mut self,
port: impl Into<GenericAP>,
register: R
) -> Result<R, Self::Error>
[src]
&mut self,
port: impl Into<GenericAP>,
register: R
) -> Result<R, Self::Error>
pub fn write_ap_register(
&mut self,
port: impl Into<GenericAP>,
register: R
) -> Result<(), Self::Error>
[src]
&mut self,
port: impl Into<GenericAP>,
register: R
) -> Result<(), Self::Error>
pub fn write_ap_register_repeated(
&mut self,
port: impl Into<GenericAP>,
register: R,
values: &[u32]
) -> Result<(), Self::Error>
[src]
&mut self,
port: impl Into<GenericAP>,
register: R,
values: &[u32]
) -> Result<(), Self::Error>
pub fn read_ap_register_repeated(
&mut self,
port: impl Into<GenericAP>,
register: R,
values: &mut [u32]
) -> Result<(), Self::Error>
[src]
&mut self,
port: impl Into<GenericAP>,
register: R,
values: &mut [u32]
) -> Result<(), Self::Error>
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>