TM4C1294NCPDT
I am currently running TI-RTOS on my controller and driving three LED's via PWM. I would like to use the dead-band generator to keep the three PWM's different from each other. I have gone through the example code for driving PWM and another example for generating the PWM's through the dead-band generator. The API's getting involved are from two different library files,
TivaWare_C_Series-2.1.1.71b/driverlib/pwm.h
extern void PWMDeadBandEnable(uint32_t ui32Base, uint32_t ui32Gen, uint16_t ui16Rise, uint16_t ui16Fall);
tidrivers_tivac_2_16_00_08/packages/ti/drivers/PWM.h
the above file is used in TI-RTOS example where the PWM handle is used to make the necessary changes for controlling the PWM, where no specific API is available for dead-band generation
I have two queries here,
1. How to use the dead-band generation in case of running PWM via TI-RTOS?
2. The dead band generator gives an output of two different signals, if needed to drive three signals what is the method to generate?