AVR IO structure analysis and examples