#[repr(C)]pub struct Item {
pub tr1: ChTr1,
pub tr2: ChTr2,
pub br1: ChBr1,
pub sar: u32,
pub dar: u32,
}Expand description
The common fields shared by all linked-list item types (TR1, TR2, BR1, SAR, DAR).
This is the first 5 words of every GPDMA linked-list descriptor.
Both LinearItem and TwoDItem embed
this as their first field so the #[repr(C)] hardware layout is preserved.
Fields§
§tr1: ChTr1Transfer register 1.
tr2: ChTr2Transfer register 2.
br1: ChBr1Block register 1.
sar: u32Source address register.
dar: u32Destination address register.
Implementations§
Trait Implementations§
impl Copy for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
Blanket Implementations§
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