Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
hwrng.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2014-2016 Freie Universität Berlin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#ifndef PERIPH_HWRNG_H
10
#define PERIPH_HWRNG_H
11
44
#include <stdint.h>
45
46
#ifdef __cplusplus
47
extern
"C"
{
48
#endif
49
59
void
hwrng_init
(
void
);
60
70
void
hwrng_read
(
void
*buf,
unsigned
int
num);
71
72
#ifdef __cplusplus
73
}
74
#endif
75
77
#endif
/* PERIPH_HWRNG_H */
hwrng_init
void hwrng_init(void)
Initialize the hardware random number generator.
hwrng_read
void hwrng_read(void *buf, unsigned int num)
Read N bytes of random data from the hardware device.
Generated on Fri Apr 18 2025 07:46:35 by
1.9.1