Searched refs:lrclk_div (Results 1 – 1 of 1) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/pcm512x/ |
D | fsl_pcm512x.c | 182 static uint8_t dac_pcm512x_get_bclk_div(int sample_rate, uint8_t lrclk_div) in dac_pcm512x_get_bclk_div() argument 203 bclk_div = (uint8_t )(u / (sample_rate * lrclk_div)); in dac_pcm512x_get_bclk_div() 238 uint8_t alen, lrclk_div, bclk_div, dsp_div, dac_div, ncp_div, osr_div, fssp; in PCM512x_SetFormat() local 329 lrclk_div = bitWidth * 2; in PCM512x_SetFormat() 330 bclk_div = dac_pcm512x_get_bclk_div(sampleRate, lrclk_div); in PCM512x_SetFormat() 333 ret = PCM512x_WriteReg(handle, PCM512x_MASTER_CLKDIV_2, lrclk_div - 1); in PCM512x_SetFormat()
|