Go to the source code of this file.
Macros | |
#define | LE_COMPONENT_NAME |
#define | LE_CRC_START_CRC32 0xFFFFFFFFU |
Functions | |
uint32_t | le_crc_Crc32 (const uint8_t *addressPtr, size_t size, uint32_t crc) |
Detailed Description
Legato CRC32 API include file.
Copyright (C) Sierra Wireless Inc.
Macro Definition Documentation
◆ LE_CRC_START_CRC32
#define LE_CRC_START_CRC32 0xFFFFFFFFU |
Initial value for CRC32 calculation
Function Documentation
◆ le_crc_Crc32()
uint32_t le_crc_Crc32 | ( | const uint8_t * | addressPtr, |
size_t | size, | ||
uint32_t | crc | ||
) |
This function is used to calculate a CRC-32
- Returns
- 32-bit CRC
- Parameters
-
[in] addressPtr Input buffer [in] size Number of bytes to read [in] crc Starting CRC seed