![]() |
RTEMS 6.3
|
This group contains functions to calculate Cyclic Redundancy Check (CRC) values. More...
Files | |
| file | cpukit/crc/crc24q.c |
| This source file contains the implementation of _CRC24Q_Update() and _CRC24Q_Sequence_update(). | |
| file | cpukit/include/rtems/crc.h |
| This header file provides the interfaces of the Cyclic Redundancy Check (CRC) Support. | |
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. | |
This group contains functions to calculate Cyclic Redundancy Check (CRC) values.
| 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.
| crc | is the input CRC-24Q state. |
| bytes[in] | is the sequence of bytes updating the input CRC-24Q state. |
| size_in_bytes | is the size in bytes of the byte sequence. |
| uint32_t _CRC24Q_Update | ( | uint32_t | crc, |
| uint8_t | byte ) |
Updates the CRC-24Q state using a byte.
| crc | is the input CRC-24Q state. |
| byte | is the byte updating the input CRC-24Q state. |