app/demo-sn-gpio/shnf/shnf.c
/**
 * This function returns a CRC checksum over a sub frame with payload data of
 * minimum 9 bytes and maximum 254 bytes. The result is a 16 bit CRC.
 *
 * \param w_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 .. 65535 - 16 bit CRC check sum
 */
This function returns a CRC checksum over a sub frame with payload data of
minimum 9 bytes and maximum 254 bytes. The result is a 16 bit CRC.

\param w_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 ..
This function returns a CRC checksum over a sub frame with payload data of minimum 9 bytes and maximum 254 bytes . The result is a 16 bit CRC . \ param w_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 ..
UINT16 HNFiff_Crc16CalcSwp(UINT16 w_initCrc, INT32 l_subFrameLength,
                           const void *pv_subFrame)
{
    return crc16Checksum_AC9A(l_subFrameLength, pv_subFrame, w_initCrc);
}
UINT16 HNFiff_Crc16CalcSwp ( UINT16 w_initCrc , INT32 l_subFrameLength , const void * pv_subFrame ) { return crc16Checksum_AC9A ( l_subFrameLength , pv_subFrame , w_initCrc ) ; }
This function returns a CRC checksum over a sub frame with payload data of
 minimum 9 bytes and maximum 254 bytes.
This function returns a CRC checksum over a sub frame with payload data of minimum 9 bytes and maximum 254 bytes .