1 /*
2  * Copyright (c) 2006-2021, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2021-05-15     Sherman      the first version
9  */
10 #ifndef __RT_LINK_UTILITIES_H__
11 #define __RT_LINK_UTILITIES_H__
12 
13 #include <rtthread.h>
14 
15 /* Calculate the number of '1' */
16 int rt_link_utils_num1(rt_uint32_t n);
17 
18 rt_err_t rt_link_sf_crc32_reset(void);
19 rt_uint32_t rt_link_sf_crc32(rt_uint8_t *data, rt_size_t len);
20 
21 #endif /* __RT_LINK_UTILITIES_H__ */
22