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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Phase
[src]

impl PartialEq for Phase
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Phase

impl Sync for Phase