Searched refs:sampleRate_Hz (Results 1 – 14 of 14) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/esai/ |
D | fsl_esai.c | 644 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()
|
D | fsl_esai.h | 237 esai_sample_rate_t sampleRate_Hz; /*!< Sample rate of audio data */ member
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/spdif/ |
D | fsl_spdif.c | 209 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()
|
D | fsl_spdif.h | 467 void SPDIF_TxSetSampleRate(SPDIF_Type *base, uint32_t sampleRate_Hz, uint32_t sourceClockFreq_Hz);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/asrc/ |
D | fsl_asrc.c | 61 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/ |
D | fsl_dialog7212.c | 490 uint32_t sampleRate_Hz, in DA7212_ConfigAudioFormat() argument 496 switch (sampleRate_Hz) in DA7212_ConfigAudioFormat()
|
D | fsl_dialog7212.h | 1157 uint32_t sampleRate_Hz,
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexio/i2s/ |
D | fsl_flexio_i2s.h | 98 uint32_t sampleRate_Hz; /*!< Sample rate of the audio data */ member
|
D | fsl_flexio_i2s.c | 362 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/ |
D | fsl_adapter_audio.h | 330 uint32_t sampleRate_Hz; /*!< Sample rate */ member
|
D | fsl_adapter_sai.c | 557 …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()
|
D | fsl_adapter_flexcomm_i2s.c | 162 …(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/ |
D | fsl_sai.c | 1863 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()
|
D | fsl_sai.h | 272 uint32_t sampleRate_Hz; /*!< Sample rate of audio data */ member
|