package pcrc

  1. Overview
  2. Docs

Module CRC16.ISO_HDLCSource

ITU-T Recommendation T.30 (September 2005). ITU-T Recommendation V.42 (March 2002). ITU-T Recommendation X.25 (October 1996). IETF RFC 1331 (May 1992). IETF RFC 1662 (July 1994). Also known as: CRC-16/IBM-SDLC, CRC-16/ISO-IEC-14443-3-B, CRC-16/X-25, CRC-B, X-25.

Sourceval rev : bool

Whether input bytes and the final CRC value are reflected by the implementation. The corresponding parameters in the CRC model are "REFIN" and "REFOUT".

Sourceval poly : t

The polynomial of the CRC implementation. Always in direct/normal notation, regardless of the rev parameter. Corresponds to the "POLY" parameter in the model.

Sourceval init : t

Initial value of the CRC register. Always in direct/normal notation, regardless of the rev parameter. Corresponds to the "INIT" parameter of the CRC model.

Sourceval final : t

The value to be XORed to the final register value before returning the CRC. Corresponds to the "XOROUT" parameter in the CRC model.