#[non_exhaustive]#[repr(u8)]pub enum CryptoDmaExternalBurst {
Size16 = 4,
}Available on crate feature
unstable only.Expand description
Data burst of the crypto DMA channel for buffers in PSRAM.
With flash encryption enabled, the burst must be at least 16 bytes.
The ESP32-S2 uses only 16-byte bursts. With 64-byte bursts the DMA moves only the first 32 bytes of each block, and with 32-byte bursts a full-duplex SPI transfer with both buffers in PSRAM can lose data.
The variants are the bursts that the engine can use on this chip.
The default is Size16.
The buffer can limit the burst of a receive transfer, see
BurstSize.
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.
Size16 = 4
Bursts of up to 16 bytes.
Trait Implementations§
Source§impl Clone for CryptoDmaExternalBurst
impl Clone for CryptoDmaExternalBurst
impl Copy for CryptoDmaExternalBurst
Source§impl Debug for CryptoDmaExternalBurst
impl Debug for CryptoDmaExternalBurst
Source§impl Default for CryptoDmaExternalBurst
impl Default for CryptoDmaExternalBurst
impl Eq for CryptoDmaExternalBurst
Source§impl From<CryptoDmaExternalBurst> for BurstSize
impl From<CryptoDmaExternalBurst> for BurstSize
Source§fn from(burst: CryptoDmaExternalBurst) -> Self
fn from(burst: CryptoDmaExternalBurst) -> Self
Converts to this type from the input type.
Source§impl Hash for CryptoDmaExternalBurst
impl Hash for CryptoDmaExternalBurst
Source§impl Ord for CryptoDmaExternalBurst
impl Ord for CryptoDmaExternalBurst
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 CryptoDmaExternalBurst
impl PartialEq for CryptoDmaExternalBurst
Source§impl PartialOrd for CryptoDmaExternalBurst
impl PartialOrd for CryptoDmaExternalBurst
impl StructuralPartialEq for CryptoDmaExternalBurst
Auto Trait Implementations§
impl Freeze for CryptoDmaExternalBurst
impl RefUnwindSafe for CryptoDmaExternalBurst
impl Send for CryptoDmaExternalBurst
impl Sync for CryptoDmaExternalBurst
impl Unpin for CryptoDmaExternalBurst
impl UnsafeUnpin for CryptoDmaExternalBurst
impl UnwindSafe for CryptoDmaExternalBurst
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)