Enum esp_idf_svc::hal::spi::Dma
source · pub enum Dma {
Disabled,
Channel1(usize),
Channel2(usize),
Auto(usize),
}
Variants§
Implementations§
source§impl Dma
impl Dma
pub const fn max_transfer_size(&self) -> usize
Trait Implementations§
impl Copy for Dma
impl Eq for Dma
impl StructuralPartialEq for Dma
Auto Trait Implementations§
impl Freeze for Dma
impl RefUnwindSafe for Dma
impl Send for Dma
impl Sync for Dma
impl Unpin for Dma
impl UnwindSafe for Dma
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,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)