 |
advertisement |
|
|
|
|
|
|
|
Industrial Automatic Control Systems and Controllers Annotation << Back
|
Handling Hardware Interrupts Using the ATmega16 Microcontroller as an Example |
A.V. Chekushin, I.D. Kotilevets, I.A. Ivanova, M.A. Chistyakova
Low-level languages are used when developing software for low-level devices such as microcontrollers. In this case, a significant part of ensuring the functioning of the device is working with hardware interrupts. However, interruptions are not only an important part of the program, but also often the most dangerous part of it. The paper considers aspects of correct work with hardware interrupts, possible errors in working with interrupts and suggests methods for avoiding these errors, as well as ways to use macros for more convenient work with atomic operations.
Keywords: microcontroller; hardware interrupts; interrupt vector; interrupt handler; interrupt processing macros.
DOI: 10.25791/asu.1.2022.1341
Pp. 33-39. |
|
|
|
Last news:
Выставки по автоматизации и электронике «ПТА-Урал 2018» и «Электроника-Урал 2018» состоятся в Екатеринбурге Открыта электронная регистрация на выставку Дефектоскопия / NDT St. Petersburg Открыта регистрация на 9-ю Международную научно-практическую конференцию «Строительство и ремонт скважин — 2018» ExpoElectronica и ElectronTechExpo 2018: рост площади экспозиции на 19% и новые формы контент-программы Тематика и состав экспозиции РЭП на выставке "ChipEXPO - 2018" |