Enum esp32c3_hal::dma::DmaPeripheral
source · pub enum DmaPeripheral {
Spi2 = 0,
Uhci0 = 2,
I2s0 = 3,
Aes = 6,
Sha = 7,
Adc = 8,
}
Expand description
DMA capable peripherals The values need to match the TRM
Variants§
Trait Implementations§
source§impl Clone for DmaPeripheral
impl Clone for DmaPeripheral
source§fn clone(&self) -> DmaPeripheral
fn clone(&self) -> DmaPeripheral
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DmaPeripheral
impl Debug for DmaPeripheral
source§impl PartialEq for DmaPeripheral
impl PartialEq for DmaPeripheral
source§fn eq(&self, other: &DmaPeripheral) -> bool
fn eq(&self, other: &DmaPeripheral) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DmaPeripheral
impl StructuralPartialEq for DmaPeripheral
Auto Trait Implementations§
impl RefUnwindSafe for DmaPeripheral
impl Send for DmaPeripheral
impl Sync for DmaPeripheral
impl Unpin for DmaPeripheral
impl UnwindSafe for DmaPeripheral
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more