Type Alias nrf52840_pac::spis0::config::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