Type Alias rp2040_pac::i2c0::ic_tar::GC_OR_START_W

source ·
pub type GC_OR_START_W<'a, REG> = BitWriter<'a, REG, GC_OR_START_A>;
Expand description

Field GC_OR_START writer - 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_W<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> GC_OR_START_W<'a, REG>
where REG: Writable + RegisterSpec,

source

pub fn general_call(self) -> &'a mut W<REG>

GENERAL_CALL byte transmission

source

pub fn start_byte(self) -> &'a mut W<REG>

START byte transmission