Home
last modified time | relevance | path

Searched refs:fifoSize (Results 1 – 5 of 5) sorted by relevance

/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/source/
Dcy_scb_spi.c679 uint32_t fifoSize = Cy_SCB_GetFifoSize(base); in Cy_SCB_SPI_Transfer() local
693 Cy_SCB_SetTxFifoLevel(base, fifoSize / 2UL); in Cy_SCB_SPI_Transfer()
701 … Cy_SCB_SetRxFifoLevel(base, (size > fifoSize) ? ((fifoSize / 2UL) - 2UL) : (size - 1UL)); in Cy_SCB_SPI_Transfer()
715 … Cy_SCB_SetRxFifoLevel(base, (size > (fifoSize / 2UL)) ? ((fifoSize / 2UL) - 2UL) : (size - 1UL)); in Cy_SCB_SPI_Transfer()
1039 uint32_t fifoSize = Cy_SCB_GetFifoSize(base); in HandleTransmit() local
1044 numToCopy = fifoSize - Cy_SCB_GetNumInTxFifo(base); in HandleTransmit()
Dcy_scb_i2c.c1309 uint32_t fifoSize = CY_SCB_I2C_FIFO_SIZE; in Cy_SCB_I2C_MasterRead() local
1315 Cy_SCB_SetRxFifoLevel(base, (context->masterBufferSize <= fifoSize) ? in Cy_SCB_I2C_MasterRead()
1316 … (context->masterBufferSize - 2UL) : ((fifoSize / 2UL) - 1UL)); in Cy_SCB_I2C_MasterRead()
2509 uint32_t fifoSize = CY_SCB_I2C_FIFO_SIZE; in SlaveHandleAddress() local
2514 if (context->slaveRxBufferSize > fifoSize) in SlaveHandleAddress()
2517 level = (context->slaveRxBufferSize - fifoSize); in SlaveHandleAddress()
2518 level = ((level > fifoSize) ? (fifoSize / 2UL) : level) - 1UL; in SlaveHandleAddress()
2565 uint32_t fifoSize = CY_SCB_I2C_FIFO_SIZE; in SlaveHandleDataReceive() local
2577 if (context->slaveRxBufferSize > fifoSize) in SlaveHandleDataReceive()
2579 level = context->slaveRxBufferSize - fifoSize; in SlaveHandleDataReceive()
[all …]
Dcy_scb_ezi2c.c990 uint32_t fifoSize = CY_SCB_EZI2C_FIFO_SIZE; in UpdateRxFifoLevel() local
992 if (bufSize > fifoSize) in UpdateRxFifoLevel()
995 level = (bufSize - fifoSize); in UpdateRxFifoLevel()
996 level = ((level > fifoSize) ? (fifoSize / 2UL) : level) - 1UL; in UpdateRxFifoLevel()
Dcy_scb_common.c420 uint32_t fifoSize = Cy_SCB_GetFifoSize(base); in Cy_SCB_WriteString() local
426 while (fifoSize == Cy_SCB_GetNumInTxFifo(base)) in Cy_SCB_WriteString()
Dcy_scb_uart.c1609 uint32_t fifoSize = Cy_SCB_GetFifoSize(base); in HandleDataTransmit() local
1630 if ((fifoSize != Cy_SCB_GetNumInTxFifo(base)) && (1UL == context->txBufSize)) in HandleDataTransmit()