GD32F10x USB-Device
V1.0.0
GD32F10x USB-Device
|
USBD_Exported_Macros
Macros | |
#define | SWAPBYTE(addr) |
#define | LOWBYTE(x) ((uint8_t)(x & 0x00FF)) |
#define | HIGHBYTE(x) ((uint8_t)((x & 0xFF00) >> 8)) |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
Detailed Description
Macro Definition Documentation
#define SWAPBYTE | ( | addr | ) |
Value:
(((uint16_t)(*((uint8_t *)(addr)))) + \
(((uint16_t)(*(((uint8_t *)(addr)) + 1))) << 8))
Definition at line 91 of file usbd_def.h.
Generated on Fri Feb 6 2015 14:56:36 for GD32F10x USB-Device by 1.8.8