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 PartialEq<Mode> 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 !=.

impl Copy for Mode
[src]

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

Auto Trait Implementations

impl Send for Mode

impl Sync for Mode