Contiki 3.x
|
Random number generator routines exploiting the cc2538 hardware capabilities. More...
#include "contiki.h"
#include "dev/rfcore.h"
#include "dev/cc2538-rf.h"
#include "dev/soc-adc.h"
#include "dev/sys-ctrl.h"
#include "reg.h"
Go to the source code of this file.
Functions | |
unsigned short | random_rand (void) |
Generates a new random number using the cc2538 RNG. More... | |
void | random_init (unsigned short seed) |
Seed the cc2538 random number generator. More... | |
Random number generator routines exploiting the cc2538 hardware capabilities.
This file overrides core/lib/random.c.
Definition in file random.c.