Searched refs:WM8962_SWAP_UINT16_BYTE_SEQUENCE (Results 1 – 1 of 1) sorted by relevance
29 #define WM8962_SWAP_UINT16_BYTE_SEQUENCE(x) ((((x)&0x00ffU) << 8U) | (((x)&0xff00U) >> 8U)) macro820 uint16_t buff = (uint16_t)(WM8962_SWAP_UINT16_BYTE_SEQUENCE(val) & 0xFFFFU); in WM8962_WriteReg()833 *val = WM8962_SWAP_UINT16_BYTE_SEQUENCE(readValue); in WM8962_ReadReg()868 PRINTF("REG %x, value %x\r\n", i, WM8962_SWAP_UINT16_BYTE_SEQUENCE(readValue)); in WM8962_ReadAllReg()