Enum mk20d7::spi1::ctar_slave::CPHAR
source · pub enum CPHAR {
_0,
_1,
}
Expand description
Possible values of the field CPHA
Variants§
_0
Data is captured on the leading edge of SCK and changed on the following edge.
_1
Data is changed on the leading edge of SCK and captured on the following edge.
Implementations§
source§impl CPHAR
impl CPHAR
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)