This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HVPM_Sensorless中PWMGEN的问题

PWMEGEN为内含六变量的结构体,为什么只赋值五个??

typedef struct {
Uint16 PeriodMax; 
Uint16 HalfPerMax; 
Uint16 Deadband;
_iq MfuncC1; 
_iq MfuncC2; 
_iq MfuncC3;
} PWMGEN ;

#define F2803X_FC_PWM_GEN { 1000, \
100, \
0x4000, \
0x4000, \
0x4000, \
}

#define PWMGEN_DEFAULTS F2803X_FC_PWM_GEN

PWMGEN pwm1 = PWMGEN_DEFAULTS;