Jump to main content

##

# 2.22.3 CRCCUx_Setup Function

## C

    void CRCCUx_Setup( CRCCU_POLYNOMIAL polynomial, CRCCU_TWIDTH width ); // x - Instance of the CRCCU peripheral

## Summary

Reconfigure the CRCCU peripheral.

## Description

This function can be used to setup configuration parameter for CRC calculation.

## Precondition

None.

## Parameters

Param | Description
--- | ---
polynomial | polynomial to be used
width | transfer width for CRCCU DMA.

## Returns

None.

## Example

    CRCCU_Setup(CRCCU_POLYNOMIAL_CCITT8023, CRCCU_TWIDTH_BYTE);

## Remarks

None.