![Infineon FCE CRC 1 Скачать руководство пользователя страница 5](http://html1.mh-extra.com/html/infineon/fce-crc-1/fce-crc-1_manual_2055142005.webp)
Implementation
Demo Initialization
The initialization of the module is done via
Fce_Crc_Init()
, which contains:
›
the FCE module initialization, using the function
IfxFce_Crc_initModule()
›
the CRC algorithms initialization, using the function
IfxFce_Crc_initCrc()
Demo execution
The execution is started with the function
Fce_Crc_Demo_Run()
, which
calculates:
›
CRC32 algorithm, using
IfxFce_Crc_calculateCrc32()
›
CRC16 algorithm, using
IfxFce_Crc_calculateCrc16()
›
CRC8 algorithm, using
IfxFce_Crc_calculateCrc8()
All functions, needed for using the FCE CRC calculation, are provided by the
iLLD header
IfxFce_Crc.h
.
FCE Error Interrupt Service Routine
The ISR will be executed in case of a CRC calculation error. It will scan all
kernels status registers and check if error flags are set.
5
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.