AnsweredAssumed Answered

5643L,10.7环境,按照说明文档添加ammclib库后,在主程序中可以正常使用库函数,但在中断中却程序跑飞。我在进入中断时只是清除了中断标志位,还需要做其他处理吗?

Question asked by amos xue on Oct 18, 2017
Latest reply on Oct 24, 2017 by Martin Kovar

extern void CLoop100usIsr (void)
{
PIT.CHANNEL[0].TFLG.R=0x1;

...........

tr32InVoltage.f32Arg1 = FRAC32 (12.99/15);
tr32InVoltage.f32Arg2 = FRAC32 (7.5/15);
u32SvmSector = GMCLIB_SvmStd_F32 (&tr32PwmABC,&tr32InVoltage);

..........

Outcomes