nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ WRITE_LE_64

#define WRITE_LE_64 (   _x,
  _y 
)
Value:
do { \
((uint8_t *)(_x))[0] = (((uint32_t)(_y)) >> 0x00) & 0xFF; \
((uint8_t *)(_x))[1] = (((uint32_t)(_y)) >> 0x08) & 0xFF; \
((uint8_t *)(_x))[2] = (((uint32_t)(_y)) >> 0x10) & 0xFF; \
((uint8_t *)(_x))[3] = (((uint32_t)(_y)) >> 0x18) & 0xFF; \
((uint8_t *)(_x))[4] = (((uint32_t)(_y)) >> 0x20) & 0xFF; \
((uint8_t *)(_x))[5] = (((uint32_t)(_y)) >> 0x28) & 0xFF; \
((uint8_t *)(_x))[6] = (((uint32_t)(_y)) >> 0x30) & 0xFF; \
((uint8_t *)(_x))[7] = (((uint32_t)(_y)) >> 0x38) & 0xFF; \
} while(0)