[an error occurred while processing this directive]
#define x1(X) (1U<<(X))#define x0(X) (0<<(X))
а потом например так:
TCCR2 = x0(FOC2) | x1(WGM20) | x1(COM21) | x0(COM20) | x1(WGM21) | x0(CS22) | x1(CS21) | x0(CS20);