#[repr(C)]pub struct LinearItem {
pub tr1: ChTr1,
pub tr2: ChTr2,
pub br1: ChBr1,
pub sar: u32,
pub dar: u32,
pub llr: ChLlr,
}
Expand description
A linked-list item for linear GPDMA transfers.
Also works for 2D-capable GPDMA channels, but does not use 2D capabilities.
Fields§
§tr1: ChTr1
Transfer register 1.
tr2: ChTr2
Transfer register 2.
br1: ChBr1
Block register 2.
sar: u32
Source address register.
dar: u32
Destination address register.
llr: ChLlr
Linked-list address register.
Implementations§
Trait Implementations§
Source§impl Clone for LinearItem
impl Clone for LinearItem
Source§fn clone(&self) -> LinearItem
fn clone(&self) -> LinearItem
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LinearItem
impl Debug for LinearItem
Source§impl Default for LinearItem
impl Default for LinearItem
Source§fn default() -> LinearItem
fn default() -> LinearItem
Returns the “default value” for a type. Read more
impl Copy for LinearItem
Auto Trait Implementations§
impl Freeze for LinearItem
impl RefUnwindSafe for LinearItem
impl Send for LinearItem
impl Sync for LinearItem
impl Unpin for LinearItem
impl UnwindSafe for LinearItem
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