Hello,
I am using ecap1 and ecap3 peripherals to capture signals that differ in nanoseconds. I need to reset ecap1 and ecap3 counters so that they start at the same time.
Performing the following actions
ECap3Regs.TSCTR = 0;
ECap1Regs.TSCTR = 0;
does not work me as I am introduce a delay of one clock cycle between the two resets.
How do I reset both ecap counters on the same clock cycle?
Thanks
Monika