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

impl Copy for Polarity
[src]

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

Auto Trait Implementations

impl Send for Polarity

impl Sync for Polarity