nrf52840_pac::spi0::config

Type Alias CPOL_R

Source
pub type CPOL_R = BitReader<CPOL_A>;
Expand description

Field CPOL reader - Serial clock (SCK) polarity

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_active_high(&self) -> bool

Checks if the value of the field is ACTIVE_HIGH

Source

pub fn is_active_low(&self) -> bool

Checks if the value of the field is ACTIVE_LOW