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

source

pub fn variant(&self) -> RESTART_MODE_A

Get enumerated values variant

source

pub fn is_restart(&self) -> bool

Checks if the value of the field is RESTART

source

pub fn is_stop_restart(&self) -> bool

Checks if the value of the field is STOP_RESTART