Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
41
#ifndef PERIPH_HWRNG_H
42
#define PERIPH_HWRNG_H
43
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
76
#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 Sat Dec 21 2024 20:58:03 by
1.9.8