Type Alias rp2040_pac::i2c0::ic_tar::GC_OR_START_R
source · pub type GC_OR_START_R = BitReader<GC_OR_START_A>;
Expand description
Field GC_OR_START
reader - If bit 11 (SPECIAL) is set to 1 and bit 13(Device-ID) is set to 0, then this bit indicates whether a General Call or START byte command is to be performed by the DW_apb_i2c. - 0: General Call Address - after issuing a General Call, only writes may be performed. Attempting to issue a read command results in setting bit 6 (TX_ABRT) of the IC_RAW_INTR_STAT register. The DW_apb_i2c remains in General Call mode until the SPECIAL bit value (bit 11) is cleared. - 1: START BYTE Reset value: 0x0
Aliased Type§
struct GC_OR_START_R { /* private fields */ }
Implementations§
source§impl GC_OR_START_R
impl GC_OR_START_R
sourcepub const fn variant(&self) -> GC_OR_START_A
pub const fn variant(&self) -> GC_OR_START_A
Get enumerated values variant
sourcepub fn is_general_call(&self) -> bool
pub fn is_general_call(&self) -> bool
GENERAL_CALL byte transmission
sourcepub fn is_start_byte(&self) -> bool
pub fn is_start_byte(&self) -> bool
START byte transmission