Type Alias nrf52840_pac::spis0::config::CPHA_R

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

Field CPHA reader - Serial clock (SCK) phase

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

Checks if the value of the field is LEADING

source

pub fn is_trailing(&self) -> bool

Checks if the value of the field is TRAILING