1234567891011121314151617 |
- #ifndef __PROTECT_CHECK_H
- #define __PROTECT_CHECK_H
- #include "stm32f1xx_hal.h"
- #include "stm32f1xx_hal.h"
- #include "var.h"
- #include "motor_control.h"
- /*****************************全局变量声明***************************/
- extern FlagStatus MC_Protect_OverCurrentTrig_Flag; //过流信号触发标志
- /****************************全局函数声明****************************/
- extern void MC_Protect_OverCurrent_Process(FlagStatus* OverCurrentTrigFlag, MC_ErrorCode_Struct_t* p_MC_ErrorCode);
- extern void MC_Protect_Check_Process(void);
- #endif
|