Struct embedded_hal::spi::Mode
[−]
[src]
pub struct Mode { pub polarity: Polarity, pub phase: Phase, }
SPI mode
Fields
polarity: Polarity
Clock polarity
phase: Phase
Clock phase
Trait Implementations
impl Clone for Mode
[src]
fn clone(&self) -> Mode
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more