Home
last modified time | relevance | path

Searched refs:fifoWatermark (Results 1 – 12 of 12) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/sai/
Dfsl_sai.c1240 if (config->fifoWatermark > (uint8_t)((uint32_t)FSL_FEATURE_SAI_FIFO_COUNTn(base)) || in SAI_TxSetFifoConfig()
1241 (!MCUX_SDK_SAI_ALLOW_NULL_FIFO_WATERMARK && config->fifoWatermark == 0U)) in SAI_TxSetFifoConfig()
1243 config->fifoWatermark = (uint8_t)((uint32_t)FSL_FEATURE_SAI_FIFO_COUNTn(base) / 2U); in SAI_TxSetFifoConfig()
1272 base->TCR1 = (base->TCR1 & (~I2S_TCR1_TFW_MASK)) | I2S_TCR1_TFW(config->fifoWatermark); in SAI_TxSetFifoConfig()
1286 if (config->fifoWatermark > (uint8_t)((uint32_t)FSL_FEATURE_SAI_FIFO_COUNTn(base)) || in SAI_RxSetFifoConfig()
1287 (!MCUX_SDK_SAI_ALLOW_NULL_FIFO_WATERMARK && config->fifoWatermark == 0U)) in SAI_RxSetFifoConfig()
1289 config->fifoWatermark = (uint8_t)((uint32_t)FSL_FEATURE_SAI_FIFO_COUNTn(base) / 2U); in SAI_RxSetFifoConfig()
1312 base->RCR1 = (base->RCR1 & (~I2S_RCR1_RFW_MASK)) | I2S_RCR1_RFW(config->fifoWatermark); in SAI_RxSetFifoConfig()
1567 if ((config->fifo.fifoWatermark == 0U) || in SAI_TransferTxSetConfig()
1568 (config->fifo.fifoWatermark > (uint8_t)((uint32_t)FSL_FEATURE_SAI_FIFO_COUNTn(base)))) in SAI_TransferTxSetConfig()
[all …]
Dfsl_sai_sdma.c333 …->count = ((uint32_t)FSL_FEATURE_SAI_FIFO_COUNTn(base) - (uint32_t)saiConfig->fifo.fifoWatermark) * in SAI_TransferTxSetConfigSDMA()
448 handle->count = (uint32_t)saiConfig->fifo.fifoWatermark * (uint32_t)saiConfig->channelNums; in SAI_TransferRxSetConfigSDMA()
Dfsl_sai_edma.c354 …le->count = (uint8_t)((uint32_t)FSL_FEATURE_SAI_FIFO_COUNTn(base) - saiConfig->fifo.fifoWatermark); in SAI_TransferTxSetConfigEDMA()
461 handle->count = saiConfig->fifo.fifoWatermark; in SAI_TransferRxSetConfigEDMA()
Dfsl_sai.h369 uint8_t fifoWatermark; /*!< fifo watermark */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/components/audio/
Dfsl_adapter_sai.c316 …if (config->fifoWatermark < (uint16_t)FSL_FEATURE_SAI_FIFO_COUNTn(s_i2sBases[audioHandle->instance… in HAL_AudioCommonInit()
318 saiConfig.fifo.fifoWatermark = (uint8_t)config->fifoWatermark; in HAL_AudioCommonInit()
322 …saiConfig.fifo.fifoWatermark = (uint8_t)FSL_FEATURE_SAI_FIFO_COUNTn(s_i2sBases[audioHandle->instan… in HAL_AudioCommonInit()
Dfsl_adapter_audio.h339 …uint16_t fifoWatermark; /*!< FIFO watermark value. Generally, the value is set to half the number … member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/pwm/
Dfsl_pwm.c755 PWM_CAPTCTRLA_CFAWM(inputCaptureParams->fifoWatermark)); in PWM_SetupInputCapture()
776 PWM_CAPTCTRLB_CFBWM(inputCaptureParams->fifoWatermark)); in PWM_SetupInputCapture()
796 PWM_CAPTCTRLX_CFXWM(inputCaptureParams->fifoWatermark)); in PWM_SetupInputCapture()
Dfsl_pwm.h411 uint8_t fifoWatermark; /*!< Watermark level for capture FIFO. The capture flags in member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/pdm/
Dfsl_pdm.c316 assert(config->fifoWatermark <= PDM_FIFO_CTRL_FIFOWMK_MASK); in PDM_Init()
345 base->FIFO_CTRL = PDM_FIFO_CTRL_FIFOWMK(config->fifoWatermark); in PDM_Init()
Dfsl_pdm.h267 uint8_t fifoWatermark; /*!< Watermark value for FIFO */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexcan/
Dfsl_flexcan.h939 …uint8_t fifoWatermark; /*!< (fifoWatermark + 1) is the minimum number of CAN messages stored in th… member
Dfsl_flexcan.c2509 assert(pConfig->fifoWatermark < (uint32_t)FSL_FEATURE_FLEXCAN_HAS_ENHANCED_RX_FIFO_SIZE); in FLEXCAN_SetEnhancedRxFifoConfig()
2519 … CAN_ERFCR_NFE((uint32_t)pConfig->idFilterPairNum - 1UL) | CAN_ERFCR_ERFWM(pConfig->fifoWatermark); in FLEXCAN_SetEnhancedRxFifoConfig()