Type Alias d1_pac::spi0::spi_gcr::MODE_SELEC_R

source ·
pub type MODE_SELEC_R = BitReader<MODE_SELEC_A>;
Expand description

Field mode_selec reader - Sample timing Mode Select

Aliased Type§

struct MODE_SELEC_R { /* private fields */ }

Implementations§

source§

impl MODE_SELEC_R

source

pub fn variant(&self) -> MODE_SELEC_A

Get enumerated values variant

source

pub fn is_old_mode(&self) -> bool

Checks if the value of the field is OLD_MODE

source

pub fn is_new_mode(&self) -> bool

Checks if the value of the field is NEW_MODE