When the macro is defined on the MPC5744P chip, the program execution time is very long

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

When the macro is defined on the MPC5744P chip, the program execution time is very long

357 次查看
robin林
Contributor I

I use the following macro definition,I use the S32DS development environment:

#define UTILS_LP_FAST(value, sample, filter_constant) (value -= (filter_constant) * (value - (sample)))

I found that when the program executes this macro definition, the execution time is very long,Who can help me to answer the reason,Thank you!

0 项奖励
0 回复数