Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/codec/pcm512x/
Dfsl_pcm512x.c155 static int dac_pcm512x_get_idac(int sample_rate, uint8_t dsp_div) in dac_pcm512x_get_idac() argument
176 idac = u / (sample_rate * dsp_div); in dac_pcm512x_get_idac()
238 uint8_t alen, lrclk_div, bclk_div, dsp_div, dac_div, ncp_div, osr_div, fssp; in PCM512x_SetFormat() local
312 dsp_div = 1; /* mclk < 50Mhz, so no need to divide DSP clk */ in PCM512x_SetFormat()
313 ret = PCM512x_WriteReg(handle, PCM512x_DSP_CLKDIV, dsp_div - 1); in PCM512x_SetFormat()
336 idac = dac_pcm512x_get_idac(sampleRate, dsp_div); in PCM512x_SetFormat()