modified locally to use with HRM1017
Fork of nRF51822 by
Diff: nordic/nrf-sdk/nordic_common.h
- Revision:
- 37:c29c330d942c
- Parent:
- 0:eff01767de02
--- a/nordic/nrf-sdk/nordic_common.h Thu Jul 03 10:01:02 2014 +0100 +++ b/nordic/nrf-sdk/nordic_common.h Mon Jul 07 13:43:31 2014 +0100 @@ -23,6 +23,7 @@ #define SWAP(x) ((((x)&0xFF)<<8)|(((x)>>8)&0xFF)) /** The upper 8 bits of a 16 bit value */ +//lint -emacro(572,MSB) // Suppress warning 572 "Excessive shift value" #define MSB(a) (((a) & 0xFF00) >> 8) /** The lower 8 bits (of a 16 bit value) */ #define LSB(a) ((a) & 0xFF)