Enum nrf52::spim0::config::CPHAR [] [src]

pub enum CPHAR {
    LEADING,
    TRAILING,
}

Possible values of the field CPHA

Variants

Sample on leading edge of clock, shift serial data on trailing edge

Sample on trailing edge of clock, shift serial data on leading edge

Methods

impl CPHAR
[src]

[src]

Returns true if the bit is clear (0)

[src]

Returns true if the bit is set (1)

[src]

Value of the field as raw bits

[src]

Checks if the value of the field is LEADING

[src]

Checks if the value of the field is TRAILING

Trait Implementations

impl Clone for CPHAR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for CPHAR
[src]

impl Debug for CPHAR
[src]

[src]

Formats the value using the given formatter.

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