Type Definition atsam4ls8c_pac::spi::csr::CPOL_R

source ·
pub type CPOL_R = BitReader<CPOLSELECT_A>;
Expand description

Field CPOL reader - Clock Polarity

Implementations§

source§

impl CPOL_R

source

pub fn variant(&self) -> CPOLSELECT_A

Get enumerated values variant

source

pub fn is_0(&self) -> bool

Checks if the value of the field is _0

source

pub fn is_1(&self) -> bool

Checks if the value of the field is _1