Enum embedded_hal::spi::Polarity [] [src]

pub enum Polarity {
    IdleLow,
    IdleHigh,
}

Clock polarity

Variants

Clock signal low when idle

Clock signal high when idle

Trait Implementations

impl Clone for Polarity
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Polarity
[src]

impl PartialEq for Polarity
[src]

[src]

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

1.0.0
[src]

This method tests for !=.