Contiki-NG
Functions

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...
 

Detailed Description

Random number generator routines exploiting the nRF52 hardware capabilities.

This file overrides os/lib/random.c.

Author
Wojciech Bober wojci.nosp@m.ech..nosp@m.bober.nosp@m.@nor.nosp@m.dicse.nosp@m.mi.n.nosp@m.o

Definition in file random.c.