#[non_exhaustive]pub struct SpiDmaConfig { /* private fields */ }Available on crate feature
unstable only.Expand description
Configuration of an SPI DMA channel.
These channels have no priority registers. Only transmit transfers use
internal_burst.
Implementations§
Source§impl SpiDmaConfig
impl SpiDmaConfig
Sourcepub fn with_internal_burst(self, internal_burst: SpiDmaInternalBurst) -> Self
pub fn with_internal_burst(self, internal_burst: SpiDmaInternalBurst) -> Self
Assign the given value to the internal_burst field.
Sourcepub fn internal_burst(&self) -> SpiDmaInternalBurst
pub fn internal_burst(&self) -> SpiDmaInternalBurst
The largest data burst for buffers in internal RAM.
Trait Implementations§
Source§impl Clone for SpiDmaConfig
impl Clone for SpiDmaConfig
impl Copy for SpiDmaConfig
Source§impl Debug for SpiDmaConfig
impl Debug for SpiDmaConfig
Source§impl Default for SpiDmaConfig
impl Default for SpiDmaConfig
impl Eq for SpiDmaConfig
Source§impl Hash for SpiDmaConfig
impl Hash for SpiDmaConfig
Source§impl PartialEq for SpiDmaConfig
impl PartialEq for SpiDmaConfig
impl StructuralPartialEq for SpiDmaConfig
Auto Trait Implementations§
impl Freeze for SpiDmaConfig
impl RefUnwindSafe for SpiDmaConfig
impl Send for SpiDmaConfig
impl Sync for SpiDmaConfig
impl Unpin for SpiDmaConfig
impl UnsafeUnpin for SpiDmaConfig
impl UnwindSafe for SpiDmaConfig
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)