Enum nrf52::spim0::config::CPHAR
[−]
[src]
pub enum CPHAR { LEADING, TRAILING, }
Possible values of the field CPHA
Variants
LEADING
Sample on leading edge of clock, shift serial data on trailing edge
TRAILING
Sample on trailing edge of clock, shift serial data on leading edge
Methods
impl CPHAR
[src]
fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0)
fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1)
fn bit(&self) -> bool
[src]
Value of the field as raw bits
fn is_leading(&self) -> bool
[src]
Checks if the value of the field is LEADING
fn is_trailing(&self) -> bool
[src]
Checks if the value of the field is TRAILING
Trait Implementations
impl Clone for CPHAR
[src]
fn clone(&self) -> CPHAR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more