Kell asked:
Hi David,
Is there anything in SPLat which will tell you if more than one bit has changed in a byte, like when you are reading grey code ? I have got 5 inputs and only one can change at any one time.
The easiest would be to XOR old and new bytes. This will leave bits set wherever there's a change. Then use a 32 byte table in NVEM0 to translate the bit pattern to a count of changed bits.
