TI-OpenThread
1.08.02.01
build
examples
rtos
CC2652RB_LAUNCHXL
thread
oad_cli
platform
nv
CC2652RB_LAUNCHXL/thread/oad_cli/platform/nv/crc.h
Go to the documentation of this file.
1
40
#ifndef CRC_H
41
#define CRC_H
42
43
#include <stdlib.h>
44
#include <stdint.h>
45
46
#ifdef __cplusplus
47
extern
"C"
{
48
#endif
49
50
57
#define CRC_ALGO_TABLE_DRIVEN 1
58
59
65
typedef
uint8_t
crc_t
;
66
67
73
static
inline
crc_t
crc_init
(
void
)
74
{
75
return
0x00;
76
}
77
78
87
crc_t
crc_update
(crc_t crc,
const
void
*data,
size_t
data_len);
88
89
96
static
inline
crc_t
crc_finalize
(crc_t crc)
97
{
98
return
crc;
99
}
100
101
102
#ifdef __cplusplus
103
}
/* closing brace for extern "C" */
104
#endif
105
106
#endif
/* CRC_H */
crc_finalize
static crc_t crc_finalize(crc_t crc)
Definition:
CC2652RB_LAUNCHXL/thread/oad_cli/platform/nv/crc.h:96
crc_t
uint8_t crc_t
Definition:
CC2652RB_LAUNCHXL/thread/oad_cli/platform/nv/crc.h:65
crc_update
crc_t crc_update(crc_t crc, const void *data, size_t data_len)
Definition:
CC1352P_2_LAUNCHXL/thread/cli_ftd/platform/nv/crc.c:45
crc_init
static crc_t crc_init(void)
Definition:
CC2652RB_LAUNCHXL/thread/oad_cli/platform/nv/crc.h:73
© Copyright 1995-2020
, Texas Instruments Incorporated. All rights reserved.
Trademarks
|
Privacy policy
|
Terms of use
|
Terms of sale