Function mlx9064x::mlx90641::hamming::validate_checksum [−][src]
pub fn validate_checksum(word: u16) -> Result<u16, LibraryError>
Expand description
Validate the checksum used for the MLX90641 EEPROM
One-bit errors can be corrected. If uncorrectable errors are found, a `LibraryError::Checksum is returned with the failing value.