Searched refs:BV (Results 1 – 2 of 2) sorted by relevance
73 #ifndef BV74 static inline uint8_t BV(uint32_t n) in BV() function144 #define GET_BIT(var, Idx) (((uint8_t)(var) & BV((Idx) % 8)) ? 1 : 0)148 #define SET_BIT(var, Idx) ((uint8_t)(var) |= BV(((Idx) % 8)))152 #define CLR_BIT(var, Idx) ((uint8_t)(var) &= ((BV((Idx) % 8) ^ 0xFF)))