Home
last modified time | relevance | path

Searched refs:sampleRate_Hz (Results 1 – 14 of 14) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/esai/
Dfsl_esai.c644 sck = (uint32_t)format->sampleRate_Hz * slotLen * slotNum; in ESAI_TxSetFormat()
692 sck = (uint32_t)format->sampleRate_Hz * slotLen * slotNum; in ESAI_RxSetFormat()
870 …if ((hckClockHz < (uint32_t)format->sampleRate_Hz) || (hckSourceClockHz < (uint32_t)format->sample… in ESAI_TransferTxSetFormat()
902 …if ((hckClockHz < (uint32_t)format->sampleRate_Hz) || (hckSourceClockHz < (uint32_t)format->sample… in ESAI_TransferRxSetFormat()
Dfsl_esai.h237 esai_sample_rate_t sampleRate_Hz; /*!< Sample rate of audio data */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/spdif/
Dfsl_spdif.c209 void SPDIF_TxSetSampleRate(SPDIF_Type *base, uint32_t sampleRate_Hz, uint32_t sourceClockFreq_Hz) in SPDIF_TxSetSampleRate() argument
211 uint32_t clkDiv = sourceClockFreq_Hz / (sampleRate_Hz * 64U); in SPDIF_TxSetSampleRate()
212 uint32_t mod = sourceClockFreq_Hz % (sampleRate_Hz * 64U); in SPDIF_TxSetSampleRate()
217 if (mod > ((sampleRate_Hz * 64U) / 2U)) in SPDIF_TxSetSampleRate()
Dfsl_spdif.h467 void SPDIF_TxSetSampleRate(SPDIF_Type *base, uint32_t sampleRate_Hz, uint32_t sourceClockFreq_Hz);
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/asrc/
Dfsl_asrc.c61 static uint32_t ASRC_CalculateClockDivider(uint32_t sampleRate_Hz, uint32_t sourceClock_Hz);
144 static uint32_t ASRC_CalculateClockDivider(uint32_t sampleRate_Hz, uint32_t sourceClock_Hz) in ASRC_CalculateClockDivider() argument
146 assert(sourceClock_Hz >= sampleRate_Hz); in ASRC_CalculateClockDivider()
148 uint32_t divider = sourceClock_Hz / sampleRate_Hz; in ASRC_CalculateClockDivider()
167 if (sourceClock_Hz / ((1UL << prescaler) * divider) > sampleRate_Hz) in ASRC_CalculateClockDivider()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/da7212/
Dfsl_dialog7212.c490 uint32_t sampleRate_Hz, in DA7212_ConfigAudioFormat() argument
496 switch (sampleRate_Hz) in DA7212_ConfigAudioFormat()
Dfsl_dialog7212.h1157 uint32_t sampleRate_Hz,
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexio/i2s/
Dfsl_flexio_i2s.h98 uint32_t sampleRate_Hz; /*!< Sample rate of the audio data */ member
Dfsl_flexio_i2s.c362 uint32_t timDiv = srcClock_Hz / (format->sampleRate_Hz * format->bitWidth * 2U); in FLEXIO_I2S_MasterSetFormat()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/audio/
Dfsl_adapter_audio.h330 uint32_t sampleRate_Hz; /*!< Sample rate */ member
Dfsl_adapter_sai.c557 …AI_TxSetBitClockRate(s_i2sBases[audioHandle->instance], config->srcClock_Hz, config->sampleRate_Hz, in HAL_AudioCommonInit()
566 …AI_RxSetBitClockRate(s_i2sBases[audioHandle->instance], config->srcClock_Hz, config->sampleRate_Hz, in HAL_AudioCommonInit()
Dfsl_adapter_flexcomm_i2s.c162 …(uint16_t)(config->srcClock_Hz / (uint32_t)config->sampleRate_Hz / (uint32_t)config->bitWidth / ch… in HAL_AudioCommonInit()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sai/
Dfsl_sai.c1863 bclk = format->sampleRate_Hz * format->bitWidth * (format->stereo == kSAI_Stereo ? 2U : 1U); in SAI_TxSetFormat()
1870 bclk = format->sampleRate_Hz * 32U * 2U; in SAI_TxSetFormat()
2006 bclk = format->sampleRate_Hz * format->bitWidth * (format->stereo == kSAI_Stereo ? 2U : 1U); in SAI_RxSetFormat()
2013 bclk = format->sampleRate_Hz * 32U * 2U; in SAI_RxSetFormat()
2380 if ((bclkSourceClockHz < format->sampleRate_Hz) in SAI_TransferTxSetFormat()
2382 || (mclkSourceClockHz < format->sampleRate_Hz) in SAI_TransferTxSetFormat()
2430 if ((bclkSourceClockHz < format->sampleRate_Hz) in SAI_TransferRxSetFormat()
2432 || (mclkSourceClockHz < format->sampleRate_Hz) in SAI_TransferRxSetFormat()
Dfsl_sai.h272 uint32_t sampleRate_Hz; /*!< Sample rate of audio data */ member