pub struct DMAMem {
pub cpu_addr: NonNull<u8>,
pub bus_addr: BusAddr,
}
Expand description
Represents information related to a DMA operation.
Fields§
§cpu_addr: NonNull<u8>
The cpu_addr
field represents the address at which the CPU accesses this memory region.
This address is a virtual memory address used by the CPU to access memory.
bus_addr: BusAddr
The bus_addr
field represents the physical address of this memory region on the bus.
The DMA controller uses this address to directly access memory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DMAMem
impl RefUnwindSafe for DMAMem
impl !Send for DMAMem
impl !Sync for DMAMem
impl Unpin for DMAMem
impl UnwindSafe for DMAMem
Blanket Implementations§
Source§impl<T> Background for T
impl<T> Background for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more