#define sbi(PORT,BIT) PORT|=_BV(BIT) #define cbi(PORT,BIT) PORT&=~_BV(BIT) #define ibi(sfr, bit) (bit_is_set(sfr,bit)?1:0)