SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
// 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