app/demo-sn-gpio/sapl/sapl.c
/**
 * HNFiff_Crc32CalcSwp
 * calculates the checksymbols of a buffer (\a buf) of length \a len bytes,
 * using a table (\a crctab) which contains the checksymbols for the values 0
 * up to 255. It is possible to calculate the crc of a huge buffer in several
 * chuncks. For this reason the parameter \a initcrc is used.\n
 * To init a chunckwise calculation \a buf is set to the beginning of the
 * buffer, \a len holds the chuncksize, and \a initcrc is set zero.
 * To continue a chunckwise calculation the buffer pointer \a (buf) must be
 * updated and \a initcrc is loaded with the result of the previous function
 * call.\n
 * If \a initcrc is nonzero when the first call of a calculation (entire
 * buffer or partial) is done, the result is a coset code.
 * \retval  crc value
 */
HNFiff_Crc32CalcSwp
calculates the checksymbols of a buffer (\a buf) of length \a len bytes,
using a table (\a crctab) which contains the checksymbols for the values 0
up to 255. It is possible to calculate the crc of a huge buffer in several
chuncks.
HNFiff_Crc32CalcSwp calculates the checksymbols of a buffer ( \ a buf ) of length \ a len bytes using a table ( \ a crctab ) which contains the checksymbols for the values 0 up to 255 . It is possible to calculate the crc of a huge buffer in several chuncks .
UINT32 HNFiff_Crc32CalcSwp(UINT32 w_initCrc, INT32 l_length,
                           const void *pv_data)
{
    return crc32Checksum(l_length, (UINT8*)pv_data, w_initCrc);
}
UINT32 HNFiff_Crc32CalcSwp ( UINT32 w_initCrc , INT32 l_length , const void * pv_data ) { return crc32Checksum ( l_length , ( UINT8 * ) pv_data , w_initCrc ) ; }
HNFiff_Crc32CalcSwp
 calculates the checksymbols of a buffer (\a buf) of length \a len bytes,
 using a table (\a crctab) which contains the checksymbols for the values 0
 up to 255.
HNFiff_Crc32CalcSwp calculates the checksymbols of a buffer ( \ a buf ) of length \ a len bytes using a table ( \ a crctab ) which contains the checksymbols for the values 0 up to 255 .