Schau dir mal das Datenblat vom ATMega16 ab Seite 177 an.
Dadrin ist eigentlich alles erklärt was man zum leben braucht

Gruss
Michael