Contiki-NG
|
Random number generator routines exploiting the nRF52 hardware capabilities. More...
#include <stddef.h>
#include <nrf_drv_rng.h>
#include "app_error.h"
Go to the source code of this file.
Functions | |
unsigned short | random_rand (void) |
Generates a new random number using the nRF52 RNG. More... | |
void | random_init (unsigned short seed) |
Initialize the nRF52 random number generator. More... | |
Random number generator routines exploiting the nRF52 hardware capabilities.
This file overrides os/lib/random.c.
Definition in file random.c.