protect_check.h 540 B

1234567891011121314151617
  1. #ifndef __PROTECT_CHECK_H
  2. #define __PROTECT_CHECK_H
  3. #include "stm32f1xx_hal.h"
  4. #include "stm32f1xx_hal.h"
  5. #include "var.h"
  6. #include "motor_control.h"
  7. /*****************************全局变量声明***************************/
  8. extern FlagStatus MC_Protect_OverCurrentTrig_Flag; //过流信号触发标志
  9. /****************************全局函数声明****************************/
  10. extern void MC_Protect_OverCurrent_Process(FlagStatus* OverCurrentTrigFlag, MC_ErrorCode_Struct_t* p_MC_ErrorCode);
  11. extern void MC_Protect_Check_Process(void);
  12. #endif