Enum stm32_metapac::gpdma::vals::Pam
#[repr(u8)]pub enum Pam {
ZEROEXTENDORLEFTTRUNCATE = 0,
SIGNEXTENDORRIGHTTRUNCATE = 1,
PACK = 2,
_RESERVED_3 = 3,
}
Variants§
ZEROEXTENDORLEFTTRUNCATE = 0
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
SIGNEXTENDORRIGHTTRUNCATE = 1
If destination is wider: source data is transferred as right aligned, sign extended up to the destination data width If source is wider: source data is transferred as left-aligned, right-truncated down to the destination data width
PACK = 2
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
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Pam
impl Ord for Pam
§impl PartialOrd for Pam
impl PartialOrd for Pam
impl Copy for Pam
impl Eq for Pam
impl StructuralPartialEq for Pam
Auto Trait Implementations§
impl Freeze for Pam
impl RefUnwindSafe for Pam
impl Send for Pam
impl Sync for Pam
impl Unpin for Pam
impl UnwindSafe for Pam
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)