pub enum Packing {
ZeroExtendOrLeftTruncate,
Pack,
}Expand description
DMA Packing options
Variants§
ZeroExtendOrLeftTruncate
If destination is wider: source data is transferred as right aligned, padded with 0s up to the destination data width If source is wider: source data is transferred as right aligned, left-truncated down to the destination data width
Pack
source data is FIFO queued and packed/unpacked at the destination data width, to be transferred in a left (LSB) to right (MSB) order (named little endian) to the destination
Trait Implementations§
impl Copy for Packing
impl Eq for Packing
impl StructuralPartialEq for Packing
Auto Trait Implementations§
impl Freeze for Packing
impl RefUnwindSafe for Packing
impl Send for Packing
impl Sync for Packing
impl Unpin for Packing
impl UnwindSafe for Packing
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