Enum embedded_hal::spi::Phase [] [src]

pub enum Phase {
    CaptureOnFirstTransition,
    CaptureOnSecondTransition,
}

Clock phase

Variants

Data in "captured" on the first clock transition

Data in "captured" on the second clock transition

Trait Implementations

impl Clone for Phase
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Phase
[src]

impl PartialEq for Phase
[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 !=.