Go to the documentation of this file. 8 #define SET_BITS(value, bits) ((value) |= (bits)) 9 #define CLEAR_BITS(value, bits) ((value) &= ~(bits)) 10 #define IS_ALL_SET(value, bits) (((value) & (bits)) == (bits)) 11 #define IS_ANY_SET(value, bits) (((value) & (bits)) != 0) 12 #define IS_ALL_CLEAR(value, bits) (((value) & (bits)) == 0) 13 #define IS_ANY_CLEAR(value, bits) (!IS_ALL_SET(value, bits) && IS_ANY_SET(value, bits))