Part Number: TMS320F28377S
Tool/software: Code Composer Studio
i'm trying to understand the epwm_up_aq , here how does the compare mechanism work for the comp a & b in the code
2) is aq_set/clear a user defined constant or a predefined one
EPwm2Regs.AQCTLA.bit.PRD = AQ_CLEAR; // Clear PWM2A on Period
EPwm2Regs.AQCTLA.bit.CAU = AQ_SET; // Set PWM2A on event A,
// up count
EPwm2Regs.AQCTLB.bit.PRD = AQ_CLEAR; // Clear PWM2B on Period
EPwm2Regs.AQCTLB.bit.CBU = AQ_SET; // Set PWM2B on event B,
// up count
more generalised one , while im trying to understand the given code examples , i'm facing difficulting in making sense of some part of it , since i'm very new to embedded systems and this is the first device , that i have started with , how do you think that i should approach this from a begginner perspective ?.