Type Alias d1_pac::twi::twi_drv_ctrl::RESTART_MODE_R
source · pub type RESTART_MODE_R = BitReader<RESTART_MODE_A>;
Expand description
Field restart_mode
reader - Restart mode
Aliased Type§
struct RESTART_MODE_R { /* private fields */ }
Implementations§
source§impl RESTART_MODE_R
impl RESTART_MODE_R
sourcepub fn variant(&self) -> RESTART_MODE_A
pub fn variant(&self) -> RESTART_MODE_A
Get enumerated values variant
sourcepub fn is_restart(&self) -> bool
pub fn is_restart(&self) -> bool
Checks if the value of the field is RESTART
sourcepub fn is_stop_restart(&self) -> bool
pub fn is_stop_restart(&self) -> bool
Checks if the value of the field is STOP_RESTART