Professional Documents
Culture Documents
PDC0L=uduty.LOWbyte
PDC0H=uduty.HIGHByte
'PWM V phase update
PDC1L=vduty.LOWbyte
PDC1H=vduty.HIGHByte
'PWM W phase update
PDC2L=wduty.LOWbyte
PDC2H=wduty.HIGHByte
'T variable verification and incrementation
if t<%11111111 then
t=t+%1
else
t=%0
endif
@ INT_RETURN