pub fn crc(nibbles: &[u8]) -> u16
The calculator’s CRC over nibbles (wiki: hardware/crc; BYTES zeroes the CRC register and reads the object).
nibbles
BYTES