![]() |
Contiki-NG
|
Header file for the CC13xx/CC26xx TRNG driver. More...
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | SOC_TRNG_RAND_ASYNC_REQUEST_ERROR 0 |
Async request rejected. | |
#define | SOC_TRNG_RAND_ASYNC_REQUEST_OK 1 |
Async request accepted. | |
Typedefs | |
typedef void(* | soc_trng_callback_t) (uint64_t rand) |
Pointer to a callback to be provided as an argument to soc_trng_rand_asynchronous() | |
Functions | |
TRNG functions | |
uint64_t | soc_trng_rand_synchronous () |
Returns a minimum entropy random number. | |
void | soc_trng_init (void) |
Initialise the CC13xx/CC26xx TRNG driver. | |
uint8_t | soc_trng_rand_asynchronous (uint32_t samples, soc_trng_callback_t cb) |
Request a 64-bit, configurable-entropy random number. | |
Header file for the CC13xx/CC26xx TRNG driver.
Definition in file soc-trng.h.