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.

CCS/RM48L952: Pwm generation

Part Number: RM48L952
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

This is my code in which I am setting the gio direction using

gioSetDirection(hetPORT1, 0xFFFFFFFF);

gioSetBit(hetPORT1, 0, 1); //HET1_00
gioSetBit(hetPORT1, 6, 1); //HET1_06

I have set the bit for  HET1_00 and HET1_06 but how would the pwm channel from 0-7 will know that which channel will gonna be utilized?

whether it is:

pwmSetSignal(hetRAM1, pwm0, Set_Duty_Period1);
pwmStart(hetRAM1, pwm0); // pwm 0 is set for HET1_10

or it is:

pwmSetSignal(hetRAM1, pwm1, Set_Duty_Period1);
pwmStart(hetRAM1, pwm1); // pwm 1 is set for HET1_10