Searched refs:PCM512x_WriteReg (Results 1 – 2 of 2) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/pcm512x/ |
D | fsl_pcm512x.c | 24 status_t PCM512x_WriteReg(pcm512x_handle_t *handle, uint8_t reg, uint8_t val) in PCM512x_WriteReg() function 50 return PCM512x_WriteReg(handle, reg, new); in PCM512x_ModifyReg() 313 ret = PCM512x_WriteReg(handle, PCM512x_DSP_CLKDIV, dsp_div - 1); in PCM512x_SetFormat() 318 ret = PCM512x_WriteReg(handle, PCM512x_DAC_CLKDIV, dac_div - 1); in PCM512x_SetFormat() 322 ret = PCM512x_WriteReg(handle, PCM512x_NCP_CLKDIV, ncp_div - 1); in PCM512x_SetFormat() 326 ret = PCM512x_WriteReg(handle, PCM512x_OSR_CLKDIV, osr_div - 1); in PCM512x_SetFormat() 331 ret = PCM512x_WriteReg(handle, PCM512x_MASTER_CLKDIV_1, bclk_div - 1); in PCM512x_SetFormat() 333 ret = PCM512x_WriteReg(handle, PCM512x_MASTER_CLKDIV_2, lrclk_div - 1); in PCM512x_SetFormat() 337 ret = PCM512x_WriteReg(handle, PCM512x_IDAC_1, idac >> 8); in PCM512x_SetFormat() 339 ret = PCM512x_WriteReg(handle, PCM512x_IDAC_2, idac & 0xff); in PCM512x_SetFormat() [all …]
|
D | fsl_pcm512x.h | 239 status_t PCM512x_WriteReg(pcm512x_handle_t *handle, uint8_t reg, uint8_t val);
|