Searched refs:WM8904_SWAP_UINT16_BYTE_SEQUENCE (Results 1 – 1 of 1) sorted by relevance
17 #define WM8904_SWAP_UINT16_BYTE_SEQUENCE(x) ((((x) & 0x00ffU) << 8U) | (((x) & 0xff00U) >> 8U)) macro139 uint16_t writeValue = (uint16_t)WM8904_SWAP_UINT16_BYTE_SEQUENCE(value); in WM8904_WriteRegister()163 *value = (uint16_t)WM8904_SWAP_UINT16_BYTE_SEQUENCE(readValue); in WM8904_ReadRegister()