Macros | Functions
sw_crc.c File Reference
#include <stdint.h>
#include "sw_crc.h"

Macros

#define CRC8_ITER(crc, data)   g_pui8Crc8CCITT[(uint8_t)((crc) ^ (data))]
 
#define CRC16_ITER(crc, data)
 
#define CRC32_ITER(crc, data)
 

Functions

uint8_t Crc8CCITT (uint8_t ui8Crc, const uint8_t *pui8Data, uint32_t ui32Count)
 
uint16_t Crc16 (uint16_t ui16Crc, const uint8_t *pui8Data, uint32_t ui32Count)
 
uint16_t Crc16Array (uint32_t ui32WordLen, const uint32_t *pui32Data)
 
void Crc16Array3 (uint32_t ui32WordLen, const uint32_t *pui32Data, uint16_t *pui16Crc3)
 
uint32_t Crc32 (uint32_t ui32Crc, const uint8_t *pui8Data, uint32_t ui32Count)
 
Copyright 2017, Texas Instruments Incorporated