HPM APP
HPMicro Application solution
pmsm_speedctrl.c File Reference
#include "pmsm_speedctrl.h"

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...
 
void isr_gptmr (void)
 

Variables

CMDGENE_PARA cmdpar [4] = {0}
 

Function Documentation

◆ isr_gptmr()

void isr_gptmr ( void  )

Variable Documentation

◆ cmdpar

CMDGENE_PARA cmdpar[4] = {0}