SPRUJ52E June 2022 – September 2025 AM69 , AM69A , TDA4AH-Q1 , TDA4AP-Q1 , TDA4APE-Q1 , TDA4VH-Q1 , TDA4VP-Q1 , TDA4VPE-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