app/demo-sn-gpio/shnf/shnf.c
/**
 * This function returns a CRC checksum over a sub frame with payload data of
 * of maximum 8 bytes. The result is a 8 bit CRC.
 *
 * \param b_initCrc initial CRC (always called with 0 by the EPLS software)
 * \param l_subFrameLength subframe length in bytes
 * \param pv_subFrame reference to subframe
 *
 * \return 0 .. 255 - 8 bit CRC check sum
 */
This function returns a CRC checksum over a sub frame with payload data of
of maximum 8 bytes. The result is a 8 bit CRC.

\param b_initCrc initial CRC (always called with 0 by the EPLS software)
\param l_subFrameLength subframe length in bytes
\param pv_subFrame reference to subframe

\return 0 .. 255 - 8 bit CRC check sum
This function returns a CRC checksum over a sub frame with payload data of of maximum 8 bytes . The result is a 8 bit CRC . \ param b_initCrc initial CRC ( always called with 0 by the EPLS software ) \ param l_subFrameLength subframe length in bytes \ param pv_subFrame reference to subframe \ return 0 .. 255 - 8 bit CRC check sum
UINT8 HNFiff_Crc8CalcSwp(UINT8 b_initCrc, INT32 l_subFrameLength,
                         const void *pv_subFrame)
{
    return crc8Checksum(l_subFrameLength, (UINT8*)pv_subFrame, b_initCrc);
}
UINT8 HNFiff_Crc8CalcSwp ( UINT8 b_initCrc , INT32 l_subFrameLength , const void * pv_subFrame ) { return crc8Checksum ( l_subFrameLength , ( UINT8 * ) pv_subFrame , b_initCrc ) ; }
This function returns a CRC checksum over a sub frame with payload data of
 of maximum 8 bytes.
This function returns a CRC checksum over a sub frame with payload data of of maximum 8 bytes .