pub enum BurstConfig {
    Disabled,
    Enabled,
}Expand description
Burst transfer configuration.
Variants§
Implementations§
Source§impl BurstConfig
 
impl BurstConfig
Source§impl BurstConfig
 
impl BurstConfig
Sourcepub const fn min_compatible_alignment(self) -> usize
 
pub const fn min_compatible_alignment(self) -> usize
Calculates an alignment that is compatible with the current burst configuration.
This is an over-estimation so that Descriptors can be safely used with any DMA channel in any direction.
Sourcepub const fn max_compatible_chunk_size(self) -> usize
 
pub const fn max_compatible_chunk_size(self) -> usize
Calculates a chunk size that is compatible with the current burst configuration’s alignment requirements.
This is an over-estimation so that Descriptors can be safely used with any DMA channel in any direction.
Trait Implementations§
Source§impl Clone for BurstConfig
Available on crate feature unstable only. 
impl Clone for BurstConfig
Available on crate feature 
unstable only.Source§fn clone(&self) -> BurstConfig
 
fn clone(&self) -> BurstConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for BurstConfig
Available on crate feature unstable only. 
impl Debug for BurstConfig
Available on crate feature 
unstable only.Source§impl Default for BurstConfig
Available on crate feature unstable only. 
impl Default for BurstConfig
Available on crate feature 
unstable only.Source§impl PartialEq for BurstConfig
Available on crate feature unstable only. 
impl PartialEq for BurstConfig
Available on crate feature 
unstable only.impl Copy for BurstConfig
Available on crate feature 
unstable only.impl Eq for BurstConfig
Available on crate feature 
unstable only.impl StructuralPartialEq for BurstConfig
Available on crate feature 
unstable only.Auto Trait Implementations§
impl Freeze for BurstConfig
impl RefUnwindSafe for BurstConfig
impl Send for BurstConfig
impl Sync for BurstConfig
impl Unpin for BurstConfig
impl UnwindSafe for BurstConfig
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)