|
Contiki 3.x
|
Files | |
| file | random.c |
| Random number generator routines exploiting the nRF52 hardware capabilities. | |
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... | |
| void random_init | ( | unsigned short | seed | ) |
| unsigned short random_rand | ( | void | ) |
Generates a new random number using the nRF52 RNG.
Generates a new random number using the cc2538 RNG.
Definition at line 58 of file random.c.
Referenced by create_frame(), ipolite_send(), polite_send(), servreg_hack_register(), uip_ds6_addr_add(), uip_ds6_compute_reachable_time(), and uip_ds6_init().
1.8.6