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 PartialEq<Mode> for Mode
[src]
fn eq(&self, __arg_0: &Mode) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Mode) -> bool
[src]
This method tests for !=
.