|
|
|
@ -88,6 +88,7 @@
@@ -88,6 +88,7 @@
|
|
|
|
|
bool. Bitnumber starts at 0 for the first bit |
|
|
|
|
*/ |
|
|
|
|
#define BIT_IS_SET(value, bitnumber) (((value) & (1U<<(bitnumber))) != 0) |
|
|
|
|
#define BIT_IS_SET_64(value, bitnumber) (((value) & (uint64_t(1U)<<(bitnumber))) != 0) |
|
|
|
|
|
|
|
|
|
// get high or low bytes from 2 byte integer
|
|
|
|
|
#define LOWBYTE(i) ((uint8_t)(i)) |
|
|
|
|