#define SETBIT(reg, bit) reg |= BIT(bit) #define SETBITS(reg, bits) reg |= (bits) #define CLRBIT(reg, bit) reg &= ~(BIT(bit)) #define CLRBITS(reg, bits) reg &= ~(bits) #define SetBit(BIT, PORT) PORT |= (1<= 150) { if (IsHigh(PA2,PORTA)) ClearBit(PA2,PORTA); else if(IsLow(PA2,PORTA)) SetBit(PA2,PORTA); y = 0; } }