Searched refs:WM8960_CHECK_RET (Results 1 – 1 of 1) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/wm8960/ |
D | fsl_wm8960.c | 13 #define WM8960_CHECK_RET(x, status) \ macro 56 WM8960_CHECK_RET(WM8960_ModifyReg(handle, WM8960_POWER2, 1U, 0U), ret); in WM8960_SetInternalPllConfig() 57 WM8960_CHECK_RET(WM8960_ModifyReg(handle, WM8960_CLOCK1, 7U, 0U), ret); in WM8960_SetInternalPllConfig() 83 WM8960_CHECK_RET( in WM8960_SetInternalPllConfig() 87 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_PLL2, (uint16_t)(pllK >> 16U) & 0xFFU), ret); in WM8960_SetInternalPllConfig() 88 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_PLL3, (uint16_t)(pllK >> 8U) & 0xFFU), ret); in WM8960_SetInternalPllConfig() 89 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_PLL4, (uint16_t)pllK & 0xFFU), ret); in WM8960_SetInternalPllConfig() 91 WM8960_CHECK_RET(WM8960_ModifyReg(handle, WM8960_POWER2, 1U, 1U), ret); in WM8960_SetInternalPllConfig() 93 …WM8960_CHECK_RET(WM8960_ModifyReg(handle, WM8960_CLOCK1, 7U, (uint16_t)(((sysclkDiv == 1U ? 0U : s… in WM8960_SetInternalPllConfig() 154 …WM8960_CHECK_RET(WM8960_ModifyReg(handle, WM8960_CLOCK2, WM8960_CLOCK2_BCLK_DIV_MASK, (uint16_t)re… in WM8960_SetMasterClock() [all …]
|