Struct bcm2711_pac::dmac::DmaCb
source · [−]#[repr(C)]pub struct DmaCb {
pub ti: MemoryField<u32, Register>,
pub source_ad: u32,
pub dest_ad: u32,
pub txfr_len: MemoryField<u32, Register>,
pub stride: MemoryField<u32, Register>,
pub nextconbk: u32,
pub reserved: [u32; 2],
}
Expand description
DMA engine control block
Fields
ti: MemoryField<u32, Register>
Transfer information
source_ad: u32
Source address
dest_ad: u32
Destination address
txfr_len: MemoryField<u32, Register>
Transfer length
stride: MemoryField<u32, Register>
2D stride
nextconbk: u32
Next CB address
reserved: [u32; 2]
Reserved - set to zero
Trait Implementations
impl Copy for DmaCb
Auto Trait Implementations
impl RefUnwindSafe for DmaCb
impl Send for DmaCb
impl Sync for DmaCb
impl Unpin for DmaCb
impl UnwindSafe for DmaCb
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more