Hi,
On page 35 of https://www.ti.com/lit/ug/tidueg2c/tidueg2c.pdf?ts=1616667110428&ref_url=https%253A%252F%252Fwww.google.com%252F, there is given a software routine that includes 3 interrupts.
My question is quite simple - why does the solution.h file execute the first ISR twice? If run_ISR1 is dedicated to updating the PWM registers with new values, why is run_ISR1 then called again to perform a completely different function, i.e. to read the new ADC values etc?
Should that be the second ISR, i.e. run_ISR2?