M28/APP/user/MotorCtrl.h

19 lines
326 B
C
Raw Normal View History

2024-07-13 20:32:59 +08:00
#ifndef __MOTORCTRL_H__
#define __MOTORCTRL_H__
#include "r_cg_macrodriver.h"
typedef enum {
QD_NONE_ACT,
QD_CQ,
QD_FQ,
QD_STATE_NUM,
}QD_STATE_type;
void amCtrl_Task(void);
void amCtrl_SetState(uint8_t state);
void amCtrl_Init(void);
void amCtrl_SetYTState(QD_STATE_type qd1,QD_STATE_type qd2);
#endif