Type Alias d1_pac::spi0::spi_tcr::CPOL_R

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

Field cpol reader - SPI Clock Polarity Control

Aliased Type§

struct CPOL_R { /* private fields */ }

Implementations§

source§

impl CPOL_R

source

pub fn variant(&self) -> CPOL_A

Get enumerated values variant

source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW