M20/APP/user/MotorCtrl.h

19 lines
326 B
C
Raw Permalink Normal View History

2024-05-26 20:36:33 +08:00
#ifndef __MOTORCTRL_H__
2024-05-19 17:07:18 +08:00
#define __MOTORCTRL_H__
#include "r_cg_macrodriver.h"
2024-05-26 20:36:33 +08:00
typedef enum {
QD_NONE_ACT,
QD_CQ,
QD_FQ,
QD_STATE_NUM,
}QD_STATE_type;
2024-05-19 20:26:03 +08:00
void amCtrl_Task(void);
void amCtrl_SetState(uint8_t state);
void amCtrl_Init(void);
2024-05-26 20:36:33 +08:00
void amCtrl_SetYTState(QD_STATE_type qd1,QD_STATE_type qd2);
2024-05-19 17:07:18 +08:00
#endif