Where should be defined a device specific ISR when making a static library?

by Tekl7   Last Updated August 14, 2019 07:25 AM

Suppose I want to make a static library (.a file), which contains an ISR. That library should be used by many AVR MCUs, but each device has different ISR vector name, so it cannot be defined in .c file. Is it correct according to C conventions to define the ISR in the header file?



Related Questions


Updated November 05, 2016 09:10 AM

Updated June 21, 2017 09:25 AM

Updated May 24, 2019 09:25 AM

Updated January 25, 2018 10:25 AM

Updated October 08, 2018 21:25 PM