Structure of PRNG drivers.
More...
#include <os/lib/random.h>
|
| void(* | seed )(uint64_t seed) |
| | Seeds the PRNG with a seed.
|
| |
| uint_fast16_t(* | rand )(void) |
| | Generates a 16-bit pseudo-random number.
|
| |
Structure of PRNG drivers.
Definition at line 61 of file random.h.
◆ rand
| uint_fast16_t(* random_prng::rand) (void) |
Generates a 16-bit pseudo-random number.
- Returns
- The 16-bit pseudo-random number.
Definition at line 73 of file random.h.
◆ seed
| void(* random_prng::seed) (uint64_t seed) |
Seeds the PRNG with a seed.
- Parameters
-
Definition at line 67 of file random.h.