Go to the documentation of this file.
11 #define bit_get(p,m) ((p) & (0x01 << m))
14 #define bit_set(p,m) ((p) |= (0x01 << m))
17 #define bit_clear(p,m) ((p) &= ~(0x01 << m))
20 #define bit_flip(p,m) ((p) ^= (0x01 << m))
23 #define BIT(x) (0x01 << (x))