Home
last modified time | relevance | path

Searched refs:rxWatermark (Results 1 – 23 of 23) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_flexspi.c331 base->IPRXFCR |= FLEXSPI_IPRXFCR_RXWMRK((uint32_t)config->rxWatermark / 8U - 1U); in FLEXSPI_Init()
364 config->rxWatermark = 8; in FLEXSPI_GetDefaultConfig()
676 …uint32_t rxWatermark = ((base->IPRXFCR & FLEXSPI_IPRXFCR_RXWMRK_MASK) >> FLEXSPI_IPRXFCR_RXWMRK_SH… in FLEXSPI_ReadBlocking() local
685 if (size >= 8U * rxWatermark) in FLEXSPI_ReadBlocking()
727 if (size >= 8U * rxWatermark) in FLEXSPI_ReadBlocking()
729 for (i = 0U; i < 2U * rxWatermark; i++) in FLEXSPI_ReadBlocking()
734 size = size - 8U * rxWatermark; in FLEXSPI_ReadBlocking()
993 uint32_t rxWatermark; in FLEXSPI_TransferHandleIRQ() local
1017rxWatermark = ((base->IPRXFCR & FLEXSPI_IPRXFCR_RXWMRK_MASK) >> FLEXSPI_IPRXFCR_RXWMRK_SHIFT) + 1U; in FLEXSPI_TransferHandleIRQ()
1020 if (handle->dataSize >= 8U * rxWatermark) in FLEXSPI_TransferHandleIRQ()
[all …]
Dfsl_spi.c143 config->rxWatermark = (uint8_t)kSPI_RxFifo1; in SPI_MasterGetDefaultConfig()
225 tmpConfig |= SPI_FIFOTRIG_TXLVL(config->txWatermark) | SPI_FIFOTRIG_RXLVL(config->rxWatermark); in SPI_MasterInit()
266 config->rxWatermark = (uint8_t)kSPI_RxFifo1; in SPI_SlaveGetDefaultConfig()
332 tmpConfig |= SPI_FIFOTRIG_TXLVL(config->txWatermark) | SPI_FIFOTRIG_RXLVL(config->rxWatermark); in SPI_SlaveInit()
500 handle->rxWatermark = (uint8_t)SPI_FIFOTRIG_RXLVL_GET(base); in SPI_MasterTransferCreateHandle()
1064 … SPI_FIFOTRIG_RXLVL(handle->rxWatermark) | SPI_FIFOTRIG_TXLVL(handle->txWatermark); in SPI_MasterTransferHandleIRQ()
Dfsl_usart.c228 base->FIFOTRIG |= USART_FIFOTRIG_RXLVL(config->rxWatermark); in USART_Init()
319 config->rxWatermark = kUSART_RxFifo1; in USART_GetDefaultConfig()
692 handle->rxWatermark = (uint8_t)USART_FIFOTRIG_RXLVL_GET(base); in USART_TransferCreateHandle()
1149 if ((tmpsize == 0U) && (USART_FIFOTRIG_RXLVL_GET(base) != handle->rxWatermark)) in USART_TransferHandleIRQ()
1152 … (base->FIFOTRIG & (~USART_FIFOTRIG_RXLVL_MASK)) | USART_FIFOTRIG_RXLVL(handle->rxWatermark); in USART_TransferHandleIRQ()
Dfsl_spi.h183 uint8_t rxWatermark; /*!< rxFIFO watermark */ member
197 uint8_t rxWatermark; /*!< rxFIFO watermark */ member
286 uint8_t rxWatermark; /*!< rxFIFO watermark */ member
Dfsl_usart.h157 usart_rxfifo_watermark_t rxWatermark; /*!< rxFIFO watermark */ member
206 uint8_t rxWatermark; /*!< rxFIFO watermark */ member
Dfsl_flexspi.h246 uint8_t rxWatermark; /*!< FLEXSPI receive watermark value. */ member
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_flexspi.c331 base->IPRXFCR |= FLEXSPI_IPRXFCR_RXWMRK((uint32_t)config->rxWatermark / 8U - 1U); in FLEXSPI_Init()
364 config->rxWatermark = 8; in FLEXSPI_GetDefaultConfig()
676 …uint32_t rxWatermark = ((base->IPRXFCR & FLEXSPI_IPRXFCR_RXWMRK_MASK) >> FLEXSPI_IPRXFCR_RXWMRK_SH… in FLEXSPI_ReadBlocking() local
685 if (size >= 8U * rxWatermark) in FLEXSPI_ReadBlocking()
727 if (size >= 8U * rxWatermark) in FLEXSPI_ReadBlocking()
729 for (i = 0U; i < 2U * rxWatermark; i++) in FLEXSPI_ReadBlocking()
734 size = size - 8U * rxWatermark; in FLEXSPI_ReadBlocking()
993 uint32_t rxWatermark; in FLEXSPI_TransferHandleIRQ() local
1017rxWatermark = ((base->IPRXFCR & FLEXSPI_IPRXFCR_RXWMRK_MASK) >> FLEXSPI_IPRXFCR_RXWMRK_SHIFT) + 1U; in FLEXSPI_TransferHandleIRQ()
1020 if (handle->dataSize >= 8U * rxWatermark) in FLEXSPI_TransferHandleIRQ()
[all …]
Dfsl_lpspi.c1157 handle->rxWatermark = handle->fifoSize - 2U; in LPSPI_MasterTransferNonBlocking()
1162 handle->rxWatermark = 0U; in LPSPI_MasterTransferNonBlocking()
1164 LPSPI_SetFifoWatermarks(base, txWatermark, handle->rxWatermark); in LPSPI_MasterTransferNonBlocking()
1237 if ((handle->bytesPerFrame / 4U) < (uint16_t)handle->rxWatermark) in LPSPI_MasterTransferNonBlocking()
1239 handle->rxWatermark = in LPSPI_MasterTransferNonBlocking()
1241 … base->FCR = (base->FCR & (~LPSPI_FCR_RXWATER_MASK)) | LPSPI_FCR_RXWATER(handle->rxWatermark); in LPSPI_MasterTransferNonBlocking()
1250 if (tmpTimes <= handle->rxWatermark) in LPSPI_MasterTransferNonBlocking()
1475 if (readRegRemainingTimes <= (uint32_t)handle->rxWatermark) in LPSPI_MasterTransferHandleIRQ()
1646 handle->rxWatermark = handle->fifoSize - 2U; in LPSPI_SlaveTransferNonBlocking()
1651 handle->rxWatermark = 0U; in LPSPI_SlaveTransferNonBlocking()
[all …]
Dfsl_lpspi_edma.h72 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member
115 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member
Dfsl_lpspi.h364 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member
394 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member
Dfsl_flexspi.h246 uint8_t rxWatermark; /*!< FLEXSPI receive watermark value. */ member
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_lpspi.c1092 handle->rxWatermark = handle->fifoSize - 2U; in LPSPI_MasterTransferNonBlocking()
1097 handle->rxWatermark = 0U; in LPSPI_MasterTransferNonBlocking()
1100 LPSPI_SetFifoWatermarks(base, txWatermark, handle->rxWatermark); in LPSPI_MasterTransferNonBlocking()
1185 if (tmpTimes <= handle->rxWatermark) in LPSPI_MasterTransferNonBlocking()
1409 if (readRegRemainingTimes <= (uint32_t)handle->rxWatermark) in LPSPI_MasterTransferHandleIRQ()
1552 handle->rxWatermark = handle->fifoSize - 2U; in LPSPI_SlaveTransferNonBlocking()
1557 handle->rxWatermark = 0U; in LPSPI_SlaveTransferNonBlocking()
1559 LPSPI_SetFifoWatermarks(base, txWatermark, handle->rxWatermark); in LPSPI_SlaveTransferNonBlocking()
1653 if (readRegRemainingTimes <= (uint32_t)handle->rxWatermark) in LPSPI_SlaveTransferNonBlocking()
1873 if (readRegRemainingTimes <= (uint32_t)handle->rxWatermark) in LPSPI_SlaveTransferHandleIRQ()
Dfsl_lpspi_edma.h72 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member
115 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member
Dfsl_spi.c400 config->rxWatermark = kSPI_RxFifoOneHalfFull; in SPI_MasterGetDefaultConfig()
438 … base->C3 = SPI_C3_TNEAREF_MARK(config->txWatermark) | SPI_C3_RNFULLF_MARK(config->rxWatermark) | in SPI_MasterInit()
467 config->rxWatermark = kSPI_RxFifoOneHalfFull; in SPI_SlaveGetDefaultConfig()
498 … base->C3 = SPI_C3_TNEAREF_MARK(config->txWatermark) | SPI_C3_RNFULLF_MARK(config->rxWatermark) | in SPI_SlaveInit()
Dfsl_lpspi_edma.c230 uint8_t rxWatermark = 0; in LPSPI_MasterTransferEDMA() local
267 LPSPI_SetFifoWatermarks(base, txWatermark, rxWatermark); in LPSPI_MasterTransferEDMA()
762 uint8_t rxWatermark = 0; in LPSPI_SlaveTransferEDMA() local
794 LPSPI_SetFifoWatermarks(base, txWatermark, rxWatermark); in LPSPI_SlaveTransferEDMA()
Dfsl_spi.h190 spi_rxfifo_watermark_t rxWatermark; /*!< Rx watermark settings */ member
210 spi_rxfifo_watermark_t rxWatermark; /*!< Rx watermark settings */ member
Dfsl_qspi.c161 base->RBCT |= QuadSPI_RBCT_WMRK((uint32_t)config->rxWatermark - 1U); in QSPI_Init()
192 config->rxWatermark = 8U; in QSPI_GetDefaultQspiConfig()
Dfsl_lpspi.h362 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member
392 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member
Dfsl_qspi.h251 … uint8_t rxWatermark; /*!< QSPI receive watermark value. */ member
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_spi.c143 config->rxWatermark = (uint8_t)kSPI_RxFifo1; in SPI_MasterGetDefaultConfig()
225 tmpConfig |= SPI_FIFOTRIG_TXLVL(config->txWatermark) | SPI_FIFOTRIG_RXLVL(config->rxWatermark); in SPI_MasterInit()
266 config->rxWatermark = (uint8_t)kSPI_RxFifo1; in SPI_SlaveGetDefaultConfig()
332 tmpConfig |= SPI_FIFOTRIG_TXLVL(config->txWatermark) | SPI_FIFOTRIG_RXLVL(config->rxWatermark); in SPI_SlaveInit()
500 handle->rxWatermark = (uint8_t)SPI_FIFOTRIG_RXLVL_GET(base); in SPI_MasterTransferCreateHandle()
1064 … SPI_FIFOTRIG_RXLVL(handle->rxWatermark) | SPI_FIFOTRIG_TXLVL(handle->txWatermark); in SPI_MasterTransferHandleIRQ()
Dfsl_usart.c228 base->FIFOTRIG |= USART_FIFOTRIG_RXLVL(config->rxWatermark); in USART_Init()
319 config->rxWatermark = kUSART_RxFifo1; in USART_GetDefaultConfig()
692 handle->rxWatermark = (uint8_t)USART_FIFOTRIG_RXLVL_GET(base); in USART_TransferCreateHandle()
1149 if ((tmpsize == 0U) && (USART_FIFOTRIG_RXLVL_GET(base) != handle->rxWatermark)) in USART_TransferHandleIRQ()
1152 … (base->FIFOTRIG & (~USART_FIFOTRIG_RXLVL_MASK)) | USART_FIFOTRIG_RXLVL(handle->rxWatermark); in USART_TransferHandleIRQ()
Dfsl_spi.h183 uint8_t rxWatermark; /*!< rxFIFO watermark */ member
197 uint8_t rxWatermark; /*!< rxFIFO watermark */ member
286 uint8_t rxWatermark; /*!< rxFIFO watermark */ member
Dfsl_usart.h157 usart_rxfifo_watermark_t rxWatermark; /*!< rxFIFO watermark */ member
206 uint8_t rxWatermark; /*!< rxFIFO watermark */ member