2016-08-15 18:16:30 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2016 Nordic Semiconductor ASA
|
|
|
|
* Copyright (c) 2016 Vinayak Kariappa Chettimada
|
|
|
|
*
|
2017-01-19 09:01:01 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2016-08-15 18:16:30 +08:00
|
|
|
*/
|
|
|
|
|
2016-12-21 13:21:13 +08:00
|
|
|
#ifndef DOUBLE_BUFFER_SIZE
|
|
|
|
#define DOUBLE_BUFFER_SIZE 2
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TRIPLE_BUFFER_SIZE
|
|
|
|
#define TRIPLE_BUFFER_SIZE 3
|
|
|
|
#endif
|
|
|
|
|
2020-01-30 01:44:25 +08:00
|
|
|
#include <stddef.h>
|
|
|
|
|
2017-04-21 01:00:29 +08:00
|
|
|
u8_t util_ones_count_get(u8_t *octets, u8_t octets_len);
|
2020-01-30 01:44:25 +08:00
|
|
|
|
|
|
|
int util_rand(void *buf, size_t len);
|