FreeEMS Issues - Firmware
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000293||Firmware||Decoders||public||2011-10-10 11:09||2011-10-10 14:17|
|Target Version||Future||Fixed in Version|
|Risk of Breakage||low|
|Summary||0000293: For 2 Edge Decoders Check Consistency Of Observed Pin State|
|Description||IE, make sure that each alternate interrupt is an alternate interrupt. I realised last night that it is possible that a noise pulse could trigger the interrupt to occur and go away again before the ISR samples the pin state to determine rising/falling edge. Then I realised that if we keep a history of this, we can check to ensure that our edge is correct.|
For single edge decoders a similar thing can be done in terms of ensuring that it is always the same and correct. If not, it's noise, lose sync with a specific error.
Preferably add these as part of the decoder interface common code base.
|Steps To Reproduce|
|Tags||No tags attached.|