#[non_exhaustive]#[repr(u8)]pub enum SpiDmaInternalBurst {
Disabled = 0,
Enabled = 2,
}Available on crate feature
unstable only.Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Disabled = 0
Single transfers.
Enabled = 2
Burst transfers. A receive buffer needs 4-byte alignment to use them.
Trait Implementations§
Source§impl Clone for SpiDmaInternalBurst
impl Clone for SpiDmaInternalBurst
impl Copy for SpiDmaInternalBurst
Source§impl Debug for SpiDmaInternalBurst
impl Debug for SpiDmaInternalBurst
Source§impl Default for SpiDmaInternalBurst
impl Default for SpiDmaInternalBurst
impl Eq for SpiDmaInternalBurst
Source§impl From<SpiDmaInternalBurst> for BurstSize
impl From<SpiDmaInternalBurst> for BurstSize
Source§fn from(burst: SpiDmaInternalBurst) -> Self
fn from(burst: SpiDmaInternalBurst) -> Self
Converts to this type from the input type.
Source§impl Hash for SpiDmaInternalBurst
impl Hash for SpiDmaInternalBurst
Source§impl Ord for SpiDmaInternalBurst
impl Ord for SpiDmaInternalBurst
1.21.0 (const: unstable)§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable)§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SpiDmaInternalBurst
impl PartialEq for SpiDmaInternalBurst
Source§impl PartialOrd for SpiDmaInternalBurst
impl PartialOrd for SpiDmaInternalBurst
impl StructuralPartialEq for SpiDmaInternalBurst
Auto Trait Implementations§
impl Freeze for SpiDmaInternalBurst
impl RefUnwindSafe for SpiDmaInternalBurst
impl Send for SpiDmaInternalBurst
impl Sync for SpiDmaInternalBurst
impl Unpin for SpiDmaInternalBurst
impl UnsafeUnpin for SpiDmaInternalBurst
impl UnwindSafe for SpiDmaInternalBurst
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)