Class Crc16Tms37157
CRC-16/TMS37157 checksum state.
Note
Crccalc.com lists the initial state of the CRC as 0x89EC, whereas we use the initial value of 0x3791, the bit reversed value. This value is the one that gives the correct result (matching crccalc.com's check) when run with our code.
Methods
Returns the checksum as a width/8 element byte array in the endian order that corresponds to the constructor used.
Returns the checksum as an integer.
Stringifies this object.
Inheritance
Objects that need a human-friendly string representation should overwrite this method. The default string is based on the internal class-ID.