/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/ |
D | fsl_flexspi.c | 331 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 1017 …rxWatermark = ((base->IPRXFCR & FLEXSPI_IPRXFCR_RXWMRK_MASK) >> FLEXSPI_IPRXFCR_RXWMRK_SHIFT) + 1U; in FLEXSPI_TransferHandleIRQ() 1020 if (handle->dataSize >= 8U * rxWatermark) in FLEXSPI_TransferHandleIRQ() [all …]
|
D | fsl_spi.c | 143 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()
|
D | fsl_usart.c | 228 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()
|
D | fsl_spi.h | 183 uint8_t rxWatermark; /*!< rxFIFO watermark */ member 197 uint8_t rxWatermark; /*!< rxFIFO watermark */ member 286 uint8_t rxWatermark; /*!< rxFIFO watermark */ member
|
D | fsl_usart.h | 157 usart_rxfifo_watermark_t rxWatermark; /*!< rxFIFO watermark */ member 206 uint8_t rxWatermark; /*!< rxFIFO watermark */ member
|
D | fsl_flexspi.h | 246 uint8_t rxWatermark; /*!< FLEXSPI receive watermark value. */ member
|
/hal_nxp-2.7.6/mcux/drivers/imx/ |
D | fsl_flexspi.c | 331 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 1017 …rxWatermark = ((base->IPRXFCR & FLEXSPI_IPRXFCR_RXWMRK_MASK) >> FLEXSPI_IPRXFCR_RXWMRK_SHIFT) + 1U; in FLEXSPI_TransferHandleIRQ() 1020 if (handle->dataSize >= 8U * rxWatermark) in FLEXSPI_TransferHandleIRQ() [all …]
|
D | fsl_lpspi.c | 1157 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 …]
|
D | fsl_lpspi_edma.h | 72 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member 115 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member
|
D | fsl_lpspi.h | 364 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member 394 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member
|
D | fsl_flexspi.h | 246 uint8_t rxWatermark; /*!< FLEXSPI receive watermark value. */ member
|
/hal_nxp-2.7.6/mcux/drivers/kinetis/ |
D | fsl_lpspi.c | 1092 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()
|
D | fsl_lpspi_edma.h | 72 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member 115 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member
|
D | fsl_spi.c | 400 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()
|
D | fsl_lpspi_edma.c | 230 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()
|
D | fsl_spi.h | 190 spi_rxfifo_watermark_t rxWatermark; /*!< Rx watermark settings */ member 210 spi_rxfifo_watermark_t rxWatermark; /*!< Rx watermark settings */ member
|
D | fsl_qspi.c | 161 base->RBCT |= QuadSPI_RBCT_WMRK((uint32_t)config->rxWatermark - 1U); in QSPI_Init() 192 config->rxWatermark = 8U; in QSPI_GetDefaultQspiConfig()
|
D | fsl_lpspi.h | 362 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member 392 volatile uint8_t rxWatermark; /*!< Rx watermark. */ member
|
D | fsl_qspi.h | 251 … uint8_t rxWatermark; /*!< QSPI receive watermark value. */ member
|
/hal_nxp-2.7.6/mcux/drivers/lpc/ |
D | fsl_spi.c | 143 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()
|
D | fsl_usart.c | 228 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()
|
D | fsl_spi.h | 183 uint8_t rxWatermark; /*!< rxFIFO watermark */ member 197 uint8_t rxWatermark; /*!< rxFIFO watermark */ member 286 uint8_t rxWatermark; /*!< rxFIFO watermark */ member
|
D | fsl_usart.h | 157 usart_rxfifo_watermark_t rxWatermark; /*!< rxFIFO watermark */ member 206 uint8_t rxWatermark; /*!< rxFIFO watermark */ member
|