Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/wm8960/
Dfsl_wm8960.c84 WM8960_WriteReg(handle, WM8960_PLL1, 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()
178 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_RESET, 0x00), ret); in WM8960_Init()
183 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_POWER1, 0xFE), ret); in WM8960_Init()
187 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_POWER2, 0x1F8), ret); in WM8960_Init()
191 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_POWER3, 0x3C), ret); in WM8960_Init()
193 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_IFACE2, 0x40), ret); in WM8960_Init()
223 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_ADDCTL1, 0x0C0), ret); in WM8960_Init()
[all …]
Dfsl_wm8960.h527 status_t WM8960_WriteReg(wm8960_handle_t *handle, uint8_t reg, uint16_t val);