Other Parts Discussed in Thread: TMS320F28035, CONTROLSUITE
Hi,
I'm using TMS320F28035 for digit power controller. For module design,I need pack the assembly files by user configuration.One problem be found when calling macro:
PWM_DRV_OUT 1,2,3 1,2,3 are pwm channels.
I want to set variable for parameters of macro PWM_DRV_OUT, calling it as "PWM_DRV_OUT a, b, c ", but errors reported in this code.
I saw some using example like this :
.if a == 1
PWM_DRV_OUT 1,2,3
.else
PWM_DRV_OUT 2,1,3
.endif
Is there any other way to set variable for parameters of macro?