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
impl MODE_SELEC_R
sourcepub fn variant(&self) -> MODE_SELEC_A
pub fn variant(&self) -> MODE_SELEC_A
Get enumerated values variant
sourcepub fn is_old_mode(&self) -> bool
pub fn is_old_mode(&self) -> bool
Checks if the value of the field is OLD_MODE
sourcepub fn is_new_mode(&self) -> bool
pub fn is_new_mode(&self) -> bool
Checks if the value of the field is NEW_MODE