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.

宏参数的一些问题,谢谢



PWMDRV_LLC_ComplPairDB_INIT .macro n
;=============================
; variable declarations
_PWMDRV_LLC_ComplPairDB_Duty:n: .usect "PWMDRV_LLC_ComplPairDB_Section",2,1,1 ; input terminal for PWM duty percentage

这一句 :_PWMDRV_LLC_ComplPairDB_Duty:n:  中 :n: ,是什么意思?在哪个PDF中有介绍?


_PWMDRV_LLC_ComplPairDB_Period:n: .usect "PWMDRV_LLC_ComplPairDB_Section",2,1,1 ; input terminal for PWM period value
_PWMDRV_LLC_ComplPairDB_DeadBandRED:n: .usect "PWMDRV_LLC_ComplPairDB_Section",1,1,1 ; internal data to store PWM deadband value
_PWMDRV_LLC_ComplPairDB_DeadBandFED:n: .usect "PWMDRV_LLC_ComplPairDB_Section",1,1,1 ; internal data to store PWM deadband value

;Publish Terminal Pointers for access from the C environment
;===========================================================
.def _PWMDRV_LLC_ComplPairDB_Duty:n:

在C中,怎样使用_PWMDRV_LLC_ComplPairDB_Duty:n:
.def _PWMDRV_LLC_ComplPairDB_Period:n:
.def _PWMDRV_LLC_ComplPairDB_DeadBandRED:n:
.def _PWMDRV_LLC_ComplPairDB_DeadBandFED:n: