Tool/software: Code Composer Studio
Hello!!
I need a advice to use PWM with TivaWare_C.
I'm trying to update PWM period and pulse width value when PWM counter reaches 0.
I think using a function like below would work but I'm not sure.
---------
PWMGenConfigure(PWM1_BASE, PWM_GEN_2, PWM_GEN_MODE_DOWN|PWM_GEN_MODE_SYNC);
---------
Do I have to use additional functions or flags or it's fine with only above sentence?
Look forward for the answer.
Thank you!