Type Alias rp2040_pac::i2c0::ic_con::MASTER_MODE_R
source · pub type MASTER_MODE_R = BitReader<MASTER_MODE_A>;
Expand description
Field MASTER_MODE
reader - This bit controls whether the DW_apb_i2c master is enabled.
NOTE: Software should ensure that if this bit is written with ‘1’ then bit 6 should also be written with a ‘1’.
Aliased Type§
struct MASTER_MODE_R { /* private fields */ }
Implementations§
source§impl MASTER_MODE_R
impl MASTER_MODE_R
sourcepub const fn variant(&self) -> MASTER_MODE_A
pub const fn variant(&self) -> MASTER_MODE_A
Get enumerated values variant
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Master mode is disabled
sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Master mode is enabled