Hamming_Verify256x
Default mainpageat91libutilityHamming_Verify256x
Description Source Call Graph
Hamming_Verify256x
Verifies 3-bytes hamming codes for a data block whose size is multiple of 256 bytes.
 
Syntax / parameters
unsigned char Hamming_Verify256x (unsigned char *data, unsigned int size, const unsigned char *code)

Name Type Default Description
data unsigned char *
  Data buffer to verify.
size unsigned int
  Size of the data in bytes.
code const unsigned char *
  Original codes.
 
Return value unsigned char
   
Description
Verifies 3-bytes hamming codes for a data block whose size is multiple of 256 bytes.
Each 256-bytes block is verified with its own code. Returns 0 if the data is correct, Hamming_ERROR_SINGLEBIT if one or more block(s) have had a single bit corrected, or either Hamming_ERROR_ECC or Hamming_ERROR_MULTIPLEBITS.
 
Source
The documentation for this Member was generated from the following files:
  • hamming.c