RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros | Functions

This header file provides the interfaces of the Cyclic Redundancy Check (CRC) Support. More...

#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define CRC24Q_SEED   0U
 This constant represents the default CRC-24Q seed state.
 
#define CRC24Q_MASK   0xffffffU
 This constant provides a mask to get a valid CRC-24Q value from the integers returned by _CRC24Q_Update() and _CRC24Q_Sequence_update().
 

Functions

uint32_t _CRC24Q_Update (uint32_t crc, uint8_t byte)
 Updates the CRC-24Q state using a byte.
 
uint32_t _CRC24Q_Sequence_update (uint32_t crc, const void *bytes, size_t size_in_bytes)
 Updates the CRC-24Q state using a sequence of bytes.
 

Detailed Description

This header file provides the interfaces of the Cyclic Redundancy Check (CRC) Support.