crc16ccitt.h
inline void calc(const uint8_t *pBuffer, int size) {
      while (size > 0) {
         calc(*(pBuffer++));
         size--;
      }
   }
/**
    * @brief Calculate CRC of a buffer
    * @param pBuffer    Pointer to the buffer
    * @param u16Size    Size of the buffer in bytes
    */
@brief Calculate CRC of a buffer
@param pBuffer    Pointer to the buffer
@param u16Size    Size of the buffer in bytes
@brief Calculate CRC of a buffer @param pBuffer Pointer to the buffer @param u16Size Size of the buffer in bytes
inline void calc(const uint8_t *pBuffer, int size) {
      while (size > 0) {
         calc(*(pBuffer++));
         size--;
      }
   }
inline void calc ( const uint8_t * pBuffer , int size ) { while ( size > 0 ) { calc ( * ( pBuffer ++ ) ) ; size -- ; } }
@brief Calculate CRC of a buffer
 @param pBuffer    Pointer to the buffer
 @param u16Size    Size of the buffer in bytes
@brief Calculate CRC of a buffer @param pBuffer Pointer to the buffer @param u16Size Size of the buffer in bytes