AVR-GCC - jeszcze jedno zapytanie natury "teologicznej"

Loading thread data ...

QmX wrote: ...

W czystym chyba nie, ale w GCC tak:

Funkcji ProcObslugi można nadać atrybut always_inline. Oczywiście ma to tą wadę, że wydłuży Ci wygenerowny kod.

lub

Napisać w asemblerze: .section .text .global SIG_INTERRUPT1 .global SIG_INTERRUPT2 SIG_INTERRUPT1: SIG_INTERRUPT2: rjmp ProcObslugi

gdzie ProcObslugi jest już w C i ma atrybut signal (lub interrupt).

Pozdrawiam,

Reply to
Artur Lipowski

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.