Searched refs:fifoSize (Results 1 – 5 of 5) sorted by relevance
679 uint32_t fifoSize = Cy_SCB_GetFifoSize(base); in Cy_SCB_SPI_Transfer() local693 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() local1044 numToCopy = fifoSize - Cy_SCB_GetNumInTxFifo(base); in HandleTransmit()
1309 uint32_t fifoSize = CY_SCB_I2C_FIFO_SIZE; in Cy_SCB_I2C_MasterRead() local1315 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() local2514 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() local2577 if (context->slaveRxBufferSize > fifoSize) in SlaveHandleDataReceive()2579 level = context->slaveRxBufferSize - fifoSize; in SlaveHandleDataReceive()[all …]
990 uint32_t fifoSize = CY_SCB_EZI2C_FIFO_SIZE; in UpdateRxFifoLevel() local992 if (bufSize > fifoSize) in UpdateRxFifoLevel()995 level = (bufSize - fifoSize); in UpdateRxFifoLevel()996 level = ((level > fifoSize) ? (fifoSize / 2UL) : level) - 1UL; in UpdateRxFifoLevel()
420 uint32_t fifoSize = Cy_SCB_GetFifoSize(base); in Cy_SCB_WriteString() local426 while (fifoSize == Cy_SCB_GetNumInTxFifo(base)) in Cy_SCB_WriteString()
1609 uint32_t fifoSize = Cy_SCB_GetFifoSize(base); in HandleDataTransmit() local1630 if ((fifoSize != Cy_SCB_GetNumInTxFifo(base)) && (1UL == context->txBufSize)) in HandleDataTransmit()