Type Alias d1_pac::smhc::smhc_ntsr::MODE_SELECT_R

source ·
pub type MODE_SELECT_R = BitReader<MODE_SELECT_A>;
Expand description

Field mode_select reader -

Aliased Type§

struct MODE_SELECT_R { /* private fields */ }

Implementations§

source§

impl MODE_SELECT_R

source

pub fn variant(&self) -> MODE_SELECT_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