package pcrc

  1. Overview
  2. Docs

Module CRC16.XMODEMSource

ITU-T Recommendation V.41 (November 1988). 3rd Generation Partnership Project (3GPP) TS 36.212 version 17.1.0 (March 2022) — ETSI TS 136 212 version 17.1.0 (April 2022). 3rd Generation Partnership Project (3GPP) TS 36.321 version 17.5.0 (June 2023) — ETSI TS 136 321 version 17.5.0 (July 2023). JEDEC Standard JESD84-A441 (March 2010). Also known as: CRC-16/ACORN, CRC-16/LTE, CRC-16/V-41-MSB, XMODEM, ZMODEM.

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.