nrf52840_pac::spim0::config

Type Alias 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