Struct embedded_hal::spi::Mode [] [src]

pub struct Mode {
    pub polarity: Polarity,
    pub phase: Phase,
}

SPI mode

Fields

Clock polarity

Clock phase

Trait Implementations

impl Clone for Mode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Mode
[src]

impl PartialEq for Mode
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.