Inline ISR routine functions

조회 수: 13 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2022년 2월 15일
답변: MathWorks Support Team 2022년 3월 3일
I am modelling a motor controller to be deployed on an TI F28375 board. However, I observe that the 'C28x_Hardware_Interrupt' functions are not inlined. Why is this the case?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2022년 2월 15일
ISR functions do not get inlined as they are designed to get generated as a separate function. This is done to separate the driver related code and algorithm code.
To control inlining of function in generated code, please refer to the following documentation: https://www.mathworks.com/help/coder/ug/control-inlining-using-configuration-object.html.
To control inlining of subsystem code in Simulink, please refer to the following documentation: https://www.mathworks.com/help/ecoder/ug/inline-subsystem-code-ecoder.html

추가 답변 (0개)

제품


릴리스

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by