Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 2 of 2) sorted by relevance

/hal_silabs-3.5.0/gecko/emlib/src/
Dem_i2c.c129 I2C_TransferSeq_TypeDef *seq; member
504 I2C_TransferSeq_TypeDef *seq; in I2C_Transfer() local
526 seq = transfer->seq; in I2C_Transfer()
555 if (seq->flags & I2C_FLAG_10BIT_ADDR) { in I2C_Transfer()
556 tmp = (((uint32_t)(seq->addr) >> 8) & 0x06) | 0xf0; in I2C_Transfer()
561 tmp = (uint32_t)(seq->addr) & 0xfe; in I2C_Transfer()
563 if (seq->flags & I2C_FLAG_READ) { in I2C_Transfer()
587 if (seq->flags & I2C_FLAG_10BIT_ADDR) { in I2C_Transfer()
589 i2c->TXDATA = (uint32_t)(seq->addr) & 0xff; in I2C_Transfer()
592 if (seq->flags & I2C_FLAG_READ) { in I2C_Transfer()
[all …]
/hal_silabs-3.5.0/gecko/emlib/inc/
Dem_i2c.h516 I2C_TransferSeq_TypeDef *seq);