the MCU i am using is HCS12X which has 8 ports for capture functions. I understand that they all share the same counter. I was wondering, if two capture functions are activated at two different times and both capture the same edge. will the capture function that was activated in later time receive the same counter value as the other capture that was activated earlier?
Thanks,
Carl
I'm having trouble understanding your request, but operation of input capture is pretty simple. When selected capture edge occurs, 1) contents of free running counter TCNT is transferred to capture register TCx, and 2) specific capture interrupt flag is set.