Contiki-NG
random-arch.c File Reference

Random driver for the gecko. More...

#include <stdlib.h>
#include <stdint.h>
#include "rail.h"
#include "em_system.h"

Go to the source code of this file.

Functions

unsigned short random_rand (void)
 Generates a new random number. More...
 
void random_init (unsigned short seed)
 Initialize the random number generator. More...
 

Detailed Description

Random driver for the gecko.

Author
Yago Fontoura do Rosario yago..nosp@m.rosa.nosp@m.rio@h.nosp@m.otma.nosp@m.il.co.nosp@m.m.br

Definition in file random-arch.c.