I have some code that relies on the input capture timer value.
I assume the timer value (as defined by the pre-scaler etc) is not affected by other code running i.e. it is updated every nth clock regardless of what instruction is next?
If you want code or more detail ask in comments and I will post code.