Enum esp32c2_hal::spi::SpiDataMode
source · pub enum SpiDataMode {
Single,
Dual,
Quad,
}
Expand description
SPI data mode
Single = 1 bit, 2 wires Dual = 2 bit, 2 wires Quad = 4 bit, 4 wires
Variants§
Trait Implementations§
source§impl Clone for SpiDataMode
impl Clone for SpiDataMode
source§fn clone(&self) -> SpiDataMode
fn clone(&self) -> SpiDataMode
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 SpiDataMode
impl Debug for SpiDataMode
source§impl PartialEq for SpiDataMode
impl PartialEq for SpiDataMode
source§fn eq(&self, other: &SpiDataMode) -> bool
fn eq(&self, other: &SpiDataMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SpiDataMode
impl StructuralPartialEq for SpiDataMode
Auto Trait Implementations§
impl RefUnwindSafe for SpiDataMode
impl Send for SpiDataMode
impl Sync for SpiDataMode
impl Unpin for SpiDataMode
impl UnwindSafe for SpiDataMode
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