SPRUIU1C July 2020 – February 2024 DRA821U , DRA821U-Q1
// Code snippet for APWM mode Example 3
// Run Time (Note: Example execution of one run-time instant)
//============================================================
// All phases are set to the same duty cycle
ECAP1Regs.CAP2 = 700; // Set Duty cycle i.e. compare value = 700
ECAP2Regs.CAP2 = 700; // Set Duty cycle i.e. compare value = 700
ECAP3Regs.CAP2 = 700; // Set Duty cycle i.e. compare value = 700