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.

电机控制库问题



在电机控制库中有一个霍尔控制库文件HALL3_DRV,其中有这个HALL3_READ_MACRO(v)宏

这个宏有点看不懂,每次都将v.EdgeDebounced = 0; 那么每次执行都会判断到v.EdgeDebounced == 0,而不会执行HALL3_NEXT_STATE_MACRO(v)名请问这是为什么