Merge CDC-ECM, RNG, DFU bootloader, watchdog, settings manager, energy scan routines of Robert Quattlebaum
This commit is contained in:
parent
7b529cac03
commit
110bc0242e
42 changed files with 4739 additions and 2669 deletions
13
platform/avr-ravenusb/rng.h
Normal file
13
platform/avr-ravenusb/rng.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
#ifndef __AVR_RNG_H__
|
||||
#define __AVR_RNG_H__
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
//! Returns a byte with eight random bits.
|
||||
/*! This function is very slow, and should only
|
||||
** be used when true random entropy is required.
|
||||
** The time it will take to complete is non-deterministic.
|
||||
*/
|
||||
extern uint8_t rng_get_uint8();
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue