Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
arch specific Random Number Generator API More...
Go to the source code of this file.
Functions | |
void | rng_init (void) |
void | rng_deinit (void) |
bool | rng_get (uint32_t *rand_nr) |
uint32_t | rng_wait_and_get (void) |
Variables | |
uint32_t | last |
arch specific Random Number Generator API
Definition in file rng_arch.c.
void rng_deinit | ( | void | ) |
Definition at line 40 of file rng_arch.c.
References TRNGStop().
bool rng_get | ( | uint32_t * | rand_nr | ) |
Definition at line 47 of file rng_arch.c.
References last, TRNGClearErrors(), and TRNGGenerate().
void rng_init | ( | void | ) |
Definition at line 33 of file rng_arch.c.
References last, rng_wait_and_get(), and TRNGStart().
uint32_t rng_wait_and_get | ( | void | ) |
Definition at line 61 of file rng_arch.c.
References last, and TRNGGenerate().
uint32_t last |
Definition at line 31 of file rng_arch.c.
Referenced by drop_ball(), rng_get(), rng_init(), rng_wait_and_get(), TRIG_ISR(), UpdateSensorLatency(), and UpdateSensorLatency_Single().