What does __attribute__((__interrupt__, no_auto_psv)) do?
问题 void __attribute__((__interrupt__, no_auto_psv)) _T1Interrupt(void) // 5 Hz __attribute__ directive or macro is from GCC but __interrupt__ and no_auto_psv is not , it's specific to a hardware. So, how does GCC Compiler understand __interrupt__ and no_auoto_psv , I searched and didn't find any declaration in anywhere else. So basically the _T1Interrupt function takes no argument and return nothing but has the above attribute? 回答1: In particular, these attributes are platform-specific