Tested and simulated via AVR studio 7. Please check header files as they contains specific usage instructions.