Optimized AVR DIO