|
@@ -12,13 +12,15 @@ typedef enum {
|
|
|
Foc_Set_Speed_Target, //u32, set the target speed, just for test
|
|
Foc_Set_Speed_Target, //u32, set the target speed, just for test
|
|
|
Foc_Set_Cruise_Speed, //u32, set the speed for curise riding
|
|
Foc_Set_Cruise_Speed, //u32, set the speed for curise riding
|
|
|
Foc_Set_Cruise_Mode,
|
|
Foc_Set_Cruise_Mode,
|
|
|
- Foc_Set_Phase_Current,
|
|
|
|
|
|
|
+ Foc_Set_Phase_CurrLim,
|
|
|
Foc_Set_Ctrl_Mode,
|
|
Foc_Set_Ctrl_Mode,
|
|
|
- Foc_Set_Gear_Limit,
|
|
|
|
|
|
|
+ Foc_Set_Gear_Limit, //通过设置限速,限相电流,限母线电流上层可以实现任意挡位
|
|
|
Foc_Set_Open_Dq_Vol, //u32, u32, 114d000000000a000000, 114d0000000000000000
|
|
Foc_Set_Open_Dq_Vol, //u32, u32, 114d000000000a000000, 114d0000000000000000
|
|
|
Foc_Set_EPM_Mode,
|
|
Foc_Set_EPM_Mode,
|
|
|
Foc_Start_EPM_Move,
|
|
Foc_Start_EPM_Move,
|
|
|
Foc_Conf_Pid,
|
|
Foc_Conf_Pid,
|
|
|
|
|
+ Foc_Start_DQ_Calibrate,
|
|
|
|
|
+ Foc_Set_IS_Curr_Angle, //设置DQ电流矢量和超前角
|
|
|
Foc_Hall_Phase_Cali_Result = 160,
|
|
Foc_Hall_Phase_Cali_Result = 160,
|
|
|
Foc_Hall_Offset_Cali_Result,
|
|
Foc_Hall_Offset_Cali_Result,
|
|
|
Foc_Report_Speed,
|
|
Foc_Report_Speed,
|