
#define MASK 0x10

some_value |=  MASK;    // Set  only the '1' bits in MASK

some_value &= ~MASK;    // Clear only the '1' bits in MASK
