Home
last modified time | relevance | path

Searched refs:txCount (Results 1 – 3 of 3) sorted by relevance

/bsp/rv32m1_vega/rv32m1_sdk_riscv/devices/RV32M1/drivers/
A Dfsl_lpi2c.c267 size_t txCount; in LPI2C_MasterWaitForTxReady() local
274 LPI2C_MasterGetFifoCounts(base, NULL, &txCount); in LPI2C_MasterWaitForTxReady()
275 txCount = txFifoSize - txCount; in LPI2C_MasterWaitForTxReady()
284 } while (!txCount); in LPI2C_MasterWaitForTxReady()
699 size_t txCount; in LPI2C_RunTransferStateMachine() local
719 LPI2C_MasterGetFifoCounts(base, &rxCount, &txCount); in LPI2C_RunTransferStateMachine()
720 txCount = txFifoSize - txCount; in LPI2C_RunTransferStateMachine()
730 if (!txCount--) in LPI2C_RunTransferStateMachine()
767 if (!txCount--) in LPI2C_RunTransferStateMachine()
788 if (!txCount--) in LPI2C_RunTransferStateMachine()
[all …]
A Dfsl_lpi2c.h660 static inline void LPI2C_MasterGetFifoCounts(LPI2C_Type *base, size_t *rxCount, size_t *txCount) in LPI2C_MasterGetFifoCounts() argument
662 if (txCount) in LPI2C_MasterGetFifoCounts()
664 *txCount = (base->MFSR & LPI2C_MFSR_TXCOUNT_MASK) >> LPI2C_MFSR_TXCOUNT_SHIFT; in LPI2C_MasterGetFifoCounts()
/bsp/nxp/imx/imxrt/libraries/drivers/
A Ddrv_i2c.c229 size_t txCount; in LPI2C_MasterWaitForTxFifoAllEmpty() local
236 LPI2C_MasterGetFifoCounts(base, NULL, &txCount); in LPI2C_MasterWaitForTxFifoAllEmpty()
247 while (txCount); in LPI2C_MasterWaitForTxFifoAllEmpty()

Completed in 12 milliseconds