/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/iuart/ |
D | fsl_uart.h | 832 static inline void UART_SetTxFifoWatermark(UART_Type *base, uint8_t watermark) in UART_SetTxFifoWatermark() argument 834 … assert((watermark >= 2U) && ((int32_t)watermark <= (int32_t)FSL_FEATURE_IUART_FIFO_SIZEn(base))); in UART_SetTxFifoWatermark() 835 base->UFCR = (base->UFCR & ~UART_UFCR_TXTL_MASK) | UART_UFCR_TXTL(watermark); in UART_SetTxFifoWatermark() 847 static inline void UART_SetRxRTSWatermark(UART_Type *base, uint8_t watermark) in UART_SetRxRTSWatermark() argument 849 assert((int32_t)watermark <= (int32_t)FSL_FEATURE_IUART_FIFO_SIZEn(base)); in UART_SetRxRTSWatermark() 850 base->UCR4 = (base->UCR4 & ~UART_UCR4_CTSTL_MASK) | UART_UCR4_CTSTL(watermark); in UART_SetRxRTSWatermark() 861 static inline void UART_SetRxFifoWatermark(UART_Type *base, uint8_t watermark) in UART_SetRxFifoWatermark() argument 863 assert((int32_t)watermark <= (int32_t)FSL_FEATURE_IUART_FIFO_SIZEn(base)); in UART_SetRxFifoWatermark() 864 base->UFCR = (base->UFCR & ~UART_UFCR_RXTL_MASK) | UART_UFCR_RXTL(watermark); in UART_SetRxFifoWatermark()
|
/hal_nxp-3.5.0/imx/drivers/ |
D | uart_imx.h | 444 static inline void UART_SetTxFifoWatermark(UART_Type* base, uint8_t watermark) in UART_SetTxFifoWatermark() argument 446 assert((watermark >= 2) && (watermark <= 32)); in UART_SetTxFifoWatermark() 447 UART_UFCR_REG(base) = (UART_UFCR_REG(base) & ~UART_UFCR_TXTL_MASK) | UART_UFCR_TXTL(watermark); in UART_SetTxFifoWatermark() 458 static inline void UART_SetRxFifoWatermark(UART_Type* base, uint8_t watermark) in UART_SetRxFifoWatermark() argument 460 assert(watermark <= 32); in UART_SetRxFifoWatermark() 461 UART_UFCR_REG(base) = (UART_UFCR_REG(base) & ~UART_UFCR_RXTL_MASK) | UART_UFCR_RXTL(watermark); in UART_SetRxFifoWatermark()
|
D | adc_imx7d.h | 488 static inline void ADC_SetDmaWatermark(ADC_Type* base, uint32_t watermark) in ADC_SetDmaWatermark() argument 490 assert(watermark <= 0x1FF); in ADC_SetDmaWatermark() 492 ADC_DMA_FIFO_DMA_WM_LVL(watermark); in ADC_SetDmaWatermark()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/spi/ |
D | fsl_spi.c | 257 if (handle->watermark > 1U) in SPI_SendInitialTransfer() 284 if (handle->watermark == 1U) in SPI_SendTransfer() 323 uint8_t bytestoTransfer = (uint8_t)handle->watermark * 2U; in SPI_SendTransfer() 347 if (handle->watermark == 1U) in SPI_ReceiveTransfer() 378 if (handle->rxRemainingBytes == ((uint32_t)handle->watermark * 2U)) in SPI_ReceiveTransfer() 1025 handle->watermark = SPI_GetWatermark(base); in SPI_MasterTransferCreateHandle() 1082 handle->watermark = SPI_GetWatermark(base); in SPI_MasterTransferNonBlocking() 1085 if (xfer->dataSize < (uint32_t)handle->watermark * 2U) in SPI_MasterTransferNonBlocking() 1087 handle->watermark = 1U; in SPI_MasterTransferNonBlocking() 1091 if (handle->watermark > 1U) in SPI_MasterTransferNonBlocking() [all …]
|
D | fsl_spi.h | 232 uint8_t watermark; /*!< Watermark value for SPI transfer */ member
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexcomm/i2s/ |
D | fsl_i2s.c | 135 trig |= I2S_FIFOTRIG_TXLVL(config->watermark); /* set TX FIFO trigger level */ in I2S_TxInit() 169 trig |= I2S_FIFOTRIG_RXLVL(config->watermark); /* set RX FIFO trigger level */ in I2S_RxInit() 253 config->watermark = 4U; in I2S_TxGetDefaultConfig() 307 config->watermark = 4U; in I2S_RxGetDefaultConfig() 562 …handle->watermark = (uint8_t)((base->FIFOTRIG & I2S_FIFOTRIG_TXLVL_MASK) >> I2S_FIFOTRIG_TXLVL_SH… in I2S_TxTransferCreateHandle() 613 …->FIFOTRIG = (base->FIFOTRIG & (~I2S_FIFOTRIG_TXLVL_MASK)) | I2S_FIFOTRIG_TXLVL(handle->watermark); in I2S_TxTransferNonBlocking() 666 …handle->watermark = (uint8_t)((base->FIFOTRIG & I2S_FIFOTRIG_RXLVL_MASK) >> I2S_FIFOTRIG_RXLVL_SH… in I2S_RxTransferCreateHandle() 718 …->FIFOTRIG = (base->FIFOTRIG & (~I2S_FIFOTRIG_RXLVL_MASK)) | I2S_FIFOTRIG_RXLVL(handle->watermark); in I2S_RxTransferNonBlocking()
|
D | fsl_i2s.h | 106 uint8_t watermark; /*!< FIFO trigger level */ member 146 uint8_t watermark; /*!< FIFO trigger level */ member
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dac32/ |
D | fsl_dac32.c | 153 tmp32 |= (DAC_STATCTRL_DACBFWM(config->watermark) | DAC_STATCTRL_DACBFMD(config->workMode) | in DAC32_SetBufferConfig() 178 config->watermark = kDAC32_BufferWatermark1Word; in DAC32_GetDefaultBufferConfig()
|
D | fsl_dac32.h | 105 dac32_buffer_watermark_t watermark; /*!< Select the buffer's watermark. */ member
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dac/ |
D | fsl_dac.c | 163 tmp8 |= DAC_C1_DACBFWM(config->watermark); in DAC_SetBufferConfig() 196 config->watermark = kDAC_BufferWatermark1Word; in DAC_GetDefaultBufferConfig()
|
D | fsl_dac.h | 126 dac_buffer_watermark_t watermark; /*!< Select the buffer's watermark. */ member
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/spdif/ |
D | fsl_spdif.c | 389 handle->watermark = in SPDIF_TransferTxCreateHandle() 424 handle->watermark = in SPDIF_TransferRxCreateHandle() 658 dataSize = handle->watermark; in SPDIF_TransferTxHandleIRQ() 790 dataSize = handle->watermark; in SPDIF_TransferRxHandleIRQ()
|
D | fsl_spdif.h | 182 uint8_t watermark; /*!< Watermark value */ member
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexcan/ |
D | fsl_flexcan_edma.c | 330 …uint32_t watermark = ((base->ERFCR & CAN_ERFCR_ERFWM_MASK) >> CAN_ERFCR_ERFWM_SHIFT) + 1… in FLEXCAN_TransferReceiveEnhancedFifoEDMA() local 345 if ((watermark != 1U) || ((sizeof(uint32_t) * perReadWords) != sizeof(flexcan_fd_frame_t))) in FLEXCAN_TransferReceiveEnhancedFifoEDMA()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/easrc/ |
D | fsl_asrc.h | 202 uint8_t watermark; /*!< input water mark per samples */ member 211 uint8_t watermark; /*!< output water mark per samples */ member
|
D | fsl_asrc_sdma.c | 305 …handle->outDMAHandle.asrcOutWatermark = (asrcConfig->contextOutput.watermark + 1U) * asrcConfig->c… in ASRC_TransferSetContextConfigSDMA() 306 …handle->inDMAHandle.asrcInWatermark = (asrcConfig->contextInput.watermark + 1U) * asrcConfig->co… in ASRC_TransferSetContextConfigSDMA() 457 p2pConfig.destWatermark = handle->outDMAHandle.peripheralConfig->watermark; in ASRC_TransferOutSDMA() 537 p2pConfig.sourceWatermark = handle->inDMAHandle.peripheralConfig->watermark; in ASRC_TransferInSDMA()
|
D | fsl_asrc_sdma.h | 46 uint8_t watermark; /*!< peripheral watermark */ member
|
D | fsl_asrc.c | 747 contextReg |= ASRC_CTX_CTRL_FIFO_WTMK(config->watermark); in ASRC_SetContextInputConfig() 783 contextReg |= ASRC_CTX_OUT_CTRL_FIFO_WTMK(config->watermark); in ASRC_SetContextOutputConfig() 845 config->contextInput.watermark = FSL_ASRC_INPUT_FIFO_DEPTH / 2U; in ASRC_GetContextDefaultConfig() 856 config->contextOutput.watermark = FSL_ASRC_OUTPUT_FIFO_DEPTH / 8U; in ASRC_GetContextDefaultConfig()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/asrc/ |
D | fsl_asrc_edma.h | 40 uint8_t watermark; /*!< peripheral watermark */ member
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/esai/ |
D | fsl_esai.c | 809 handle->watermark = (uint8_t)((base->TFCR & ESAI_TFCR_TFWM_MASK) >> ESAI_TFCR_TFWM_SHIFT); in ESAI_TransferTxCreateHandle() 843 handle->watermark = (uint8_t)((base->RFCR & ESAI_RFCR_RFWM_MASK) >> ESAI_RFCR_RFWM_SHIFT); in ESAI_TransferRxCreateHandle() 1140 … (size_t)(((uint32_t)FSL_FEATURE_ESAI_FIFO_SIZEn(base) - handle->watermark) * dataSize)); in ESAI_TransferTxHandleIRQ() 1190 …size_t size = MIN((handle->esaiQueue[handle->queueDriver].dataSize), (handle->watermark * (uint32_… in ESAI_TransferRxHandleIRQ()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/mcan/ |
D | fsl_mcan.h | 258 uint32_t watermark; /*!< FIFOn watermark level. */ member 275 uint32_t watermark; /*!< FIFOn watermark level. */ member
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sai/ |
D | fsl_sai.c | 1543 handle->watermark = config->fifo.fifoWatermark; in SAI_TransferTxSetConfig() 1677 handle->watermark = config->fifo.fifoWatermark; in SAI_TransferRxSetConfig() 1974 base->TCR1 = format->watermark; in SAI_TxSetFormat() 2118 base->RCR1 = format->watermark; in SAI_RxSetFormat() 2392 handle->watermark = format->watermark; in SAI_TransferTxSetFormat() 2442 handle->watermark = format->watermark; in SAI_TransferRxSetFormat() 2753 … (size_t)(((uint32_t)FSL_FEATURE_SAI_FIFO_COUNTn(base) - handle->watermark) * dataSize)); in SAI_TransferTxHandleIRQ() 2829 … size_t size = MIN((handle->saiQueue[handle->queueDriver].dataSize), handle->watermark * dataSize); in SAI_TransferRxHandleIRQ()
|
D | fsl_sai.h | 279 uint8_t watermark; /*!< Watermark value */ member 452 uint8_t watermark; /*!< Watermark value */ member
|
D | fsl_sai_sdma.c | 288 …((uint32_t)FSL_FEATURE_SAI_FIFO_COUNTn(base) - (uint32_t)format->watermark) * (uint32_t)format->ch… in SAI_TransferTxSetFormatSDMA() 401 handle->count = (uint32_t)format->watermark * (uint32_t)format->channelNums; in SAI_TransferRxSetFormatSDMA()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/pdm/ |
D | fsl_pdm.c | 515 handle->watermark = (uint8_t)(base->FIFO_CTRL & PDM_FIFO_CTRL_FIFOWMK_MASK); in PDM_TransferCreateHandle() 645 … ((uint32_t)handle->watermark * handle->channelNums * handle->format)); in PDM_TransferHandleIRQ()
|