Functions | |
| void | ComputeDuty_SPWM (float theta, float modulationIndex, float *duties, bool dir) |
| Get duty cycles of each leg using sinusoidal PWM. | |
|
extern |
| theta | Current angle of Phase A in radians |
| modulationIndex | Modulation index for the PWM |
| duties | Pointer to the array where duty cycles need to be updated. |
| dir | Direction of the three phase signal |