Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/include/
Dusb_misc.h118 #define SWAP2BYTE_CONST(n) ((((n)&0x00FFU) << 8U) | (((n)&0xFF00U) >> 8U)) macro
152 #define USB_SHORT_TO_LITTLE_ENDIAN(n) SWAP2BYTE_CONST(n)
154 #define USB_SHORT_FROM_LITTLE_ENDIAN(n) SWAP2BYTE_CONST(n)
155 #define USB_LONG_FROM_LITTLE_ENDIAN(n) SWAP2BYTE_CONST(n)
230 #define USB_SHORT_TO_BIG_ENDIAN(n) SWAP2BYTE_CONST(n)
232 #define USB_SHORT_FROM_BIG_ENDIAN(n) SWAP2BYTE_CONST(n)