When calling this function it could be, that it is interrupted by the tacho ISR. hence, we need to disable interrupts for a short moment to buffer the mg_u32Distance value in another UINT32 variable.
Definition at line 223 of file speed.c. References mg_u32Distance. Referenced by main(). { UINT32 u32Ret; cli(); u32Ret = mg_u32Distance; sei(); return (u32Ret); }
Here is the caller graph for this function:
![]() |