Morse Micro IoT SDK
2.9.7
mmcrc.h
1
/*
2
* Copyright 2024 Morse Micro
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
15
#pragma once
16
17
#include <stdint.h>
18
#include <stddef.h>
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
34
uint16_t
mmcrc_16_xmodem
(uint16_t crc,
const
void
*data,
size_t
data_len);
35
36
#ifdef __cplusplus
37
}
38
#endif
39
mmcrc_16_xmodem
uint16_t mmcrc_16_xmodem(uint16_t crc, const void *data, size_t data_len)
Compute the CRC-16 for the data buffer using the XMODEM model.
framework
src
mmutils
mmcrc.h
Copyright 2021 Morse Micro