HPM APP
HPMicro Application solution
pmsm_speedctrl.h File Reference
#include "hpm_gptmr_drv.h"
#include "hpm_qei_drv.h"
#include "parm_global.h"
#include "libhpm_motor.h"

Go to the source code of this file.

Functions

int32_t pmsm_foc_get_pos (QEI_Type *ptr_qei, int32_t MAX_cnt)
 calculate Feedback position ;反馈位置计算 More...
 
void motor_speed_ctrl (MOTOR_PARA *par, PWM_Type *ptr, MOTOR_CONTROL_Global *global_control, QEI_Type *ptr_qei, uint32_t MAX_cnt)
 pos_vel loop ;速度环/位置环API More...