W3cubDocs

/GCC 6

6.31.7 CR16 Function Attributes

These function attributes are supported by the CR16 back end:

interrupt
Use this attribute to indicate that the specified function is an interrupt handler. The compiler generates function entry and exit sequences suitable for use in an interrupt handler when this attribute is present.

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-6.3.0/gcc/CR16-Function-Attributes.html