The Infona portal uses cookies, i.e. strings of text saved by a browser on the user's device. The portal can access those files and use them to remember the user's data, such as their chosen settings (screen view, interface language, etc.), or their login data. By using the Infona portal the user accepts automatic saving and using this information for portal operation purposes. More information on the subject can be found in the Privacy Policy and Terms of Service. By closing this window the user confirms that they have read the information on cookie usage, and they accept the privacy policy and the way cookies are used by the portal. You can change the cookie settings in your browser.
The main purpose of this article is to summarize the possibilities of a C code implementation for the AVR microcontrollers. The process of implementation is presented in this paper and the basic differences between two famous compilers for AVRs: GCC and CodeVisionAVR are presented as well. Whole paper is composed as a useful tool for university students/teachers and brings the guideline how to use the microcontrollers' interrupt sources but also it brings the powerful combination of assembly routines called from the C functions without a time consuming study of huge manuals and datasheets. Short examples of concrete source codes for GCC avr-libe are presented in the text.