dRonin
adbada4
dRonin firmware
|
Files | |
file | pios_crc.h |
CRC functions header. | |
Functions | |
uint8_t | PIOS_CRC_updateByte (uint8_t crc, const uint8_t data) |
uint8_t | PIOS_CRC_updateCRC (uint8_t crc, const uint8_t *data, int32_t length) |
Update a CRC with a data buffer. More... | |
uint8_t | PIOS_CRC_updateCRC_TBS (uint8_t crc, const uint8_t *data, int32_t length) |
uint16_t | PIOS_CRC16_updateByte (uint16_t crc, const uint8_t data) |
uint16_t | PIOS_CRC16_updateCRC (uint16_t crc, const uint8_t *data, int32_t length) |
Update a CRC with a data buffer. More... | |
uint16_t | PIOS_CRC16_CCITT_updateCRC (uint16_t crc, const uint8_t *data, uint32_t data_len) |
uint32_t | PIOS_CRC32_updateByte (uint32_t crc, const uint8_t data) |
uint32_t | PIOS_CRC32_updateCRC (uint32_t crc, const uint8_t *data, int32_t length) |
Update a CRC with a data buffer. More... | |
uint16_t PIOS_CRC16_CCITT_updateCRC | ( | uint16_t | crc, |
const uint8_t * | data, | ||
uint32_t | data_len | ||
) |
Definition at line 235 of file pios_crc.c.
uint16_t PIOS_CRC16_updateByte | ( | uint16_t | crc, |
const uint8_t | data | ||
) |
Update the crc value with new data.
crc | The current crc value. |
data | Pointer to a buffer of data_len bytes. |
length | Number of bytes in the data buffer. |
Definition at line 198 of file pios_crc.c.
uint16_t PIOS_CRC16_updateCRC | ( | uint16_t | crc, |
const uint8_t * | data, | ||
int32_t | length | ||
) |
Update a CRC with a data buffer.
[in] | crc | Starting CRC value |
[in] | data | Data buffer |
[in] | length | Number of bytes to process |
Definition at line 210 of file pios_crc.c.
uint32_t PIOS_CRC32_updateByte | ( | uint32_t | crc, |
const uint8_t | data | ||
) |
Update the crc value with new data.
crc | The current crc value. |
data | Pointer to a buffer of data_len bytes. |
length | Number of bytes in the data buffer. |
Definition at line 265 of file pios_crc.c.
uint32_t PIOS_CRC32_updateCRC | ( | uint32_t | crc, |
const uint8_t * | data, | ||
int32_t | length | ||
) |
Update a CRC with a data buffer.
[in] | crc | Starting CRC value |
[in] | data | Data buffer |
[in] | length | Number of bytes to process |
Definition at line 277 of file pios_crc.c.
uint8_t PIOS_CRC_updateByte | ( | uint8_t | crc, |
const uint8_t | data | ||
) |
Update the crc value with new data.
Generated by pycrc v0.7.5, http://www.tty1.net/pycrc/ using the configuration: Width = 8 Poly = 0x07 XorIn = 0x00 ReflectIn = False XorOut = 0x00 ReflectOut = False Algorithm = table-driven
crc | The current crc value. |
data | Pointer to a buffer of data_len bytes. |
length | Number of bytes in the data buffer. |
Definition at line 141 of file pios_crc.c.
uint8_t PIOS_CRC_updateCRC | ( | uint8_t | crc, |
const uint8_t * | data, | ||
int32_t | length | ||
) |
Update a CRC with a data buffer.
[in] | crc | Starting CRC value |
[in] | data | Data buffer |
[in] | length | Number of bytes to process |
Definition at line 153 of file pios_crc.c.
uint8_t PIOS_CRC_updateCRC_TBS | ( | uint8_t | crc, |
const uint8_t * | data, | ||
int32_t | length | ||
) |
Update the crc value with new data. This CRC is used for Team Blacksheep Smart Audio
Generated by pycrc v0.9, https://pycrc.org using the configuration: Width = 8 Poly = 0xd5 Xor_In = 0x00 ReflectIn = False Xor_Out = 0x00 ReflectOut = False Algorithm = bit-by-bit-fast
crc | The current crc value. |
data | Pointer to a buffer of data_len bytes. |
length | Number of bytes in the data buffer. |
Definition at line 185 of file pios_crc.c.