Type Alias d1_pac::spi0::spi_tcr::CPHA_R

source ·
pub type CPHA_R = BitReader<CPHA_A>;
Expand description

Field cpha reader - SPI Clock/Data Phase Control

Aliased Type§

struct CPHA_R { /* private fields */ }

Implementations§

source§

impl CPHA_R

source

pub fn variant(&self) -> CPHA_A

Get enumerated values variant

source

pub fn is_p0(&self) -> bool

Checks if the value of the field is P0

source

pub fn is_p1(&self) -> bool

Checks if the value of the field is P1