This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 编译器/MSP430FR5994:ISR内要调用的函数的pragma

Guru**** 2350610 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/605455/compiler-msp430fr5994-pragma-for-function-to-be-called-from-within-isr

部件号:MSP430FR5994

工具/软件:TI C/C++编译器

你(们)好


我正在为MSP430 ESCI上的LIN子总线实施C库。 为此,我要定义一些要从中断服务例程中调用的函数。

如何告诉编译器此函数将是ISR的一部分,而不会在其他任何地方调用?

谢谢

Gunther