1
6
7
8
9
10
11
12
13
14
15
16
17
25
29
30
38
42
43
51
55
56
64
68
69
77
81
82
90
94
95
96
97
/* ... */
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include "esp_rom_crc.h"
/* ... */
static inline uint32_t esp_crc32_le(uint32_t crc, uint8_t const *buf, uint32_t len)
{
return esp_rom_crc32_le(crc, buf, len);
}{ ... }
/* ... */
static inline uint32_t esp_crc32_be(uint32_t crc, uint8_t const *buf, uint32_t len)
{
return esp_rom_crc32_be(crc, buf, len);
}{ ... }
/* ... */
static inline uint16_t esp_crc16_le(uint16_t crc, uint8_t const *buf, uint32_t len)
{
return esp_rom_crc16_le(crc, buf, len);
}{ ... }
/* ... */
static inline uint16_t esp_crc16_be(uint16_t crc, uint8_t const *buf, uint32_t len)
{
return esp_rom_crc16_be(crc, buf, len);
}{ ... }
/* ... */
static inline uint8_t esp_crc8_le(uint8_t crc, uint8_t const *buf, uint32_t len)
{
return esp_rom_crc8_le(crc, buf, len);
}{ ... }
/* ... */
static inline uint8_t esp_crc8_be(uint8_t crc, uint8_t const *buf, uint32_t len)
{
return esp_rom_crc8_be(crc, buf, len);
}{ ... }
#ifdef __cplusplus
}{...}
#endif