LSW
#define LSW(l) ((l) & 0x0000ffffL)
#define LSW(x) (uint16_t)(x)
#define LSW(x) (int16_t)((int32_t)x & 0xFFFF)