modm API documentation
|
#include <modm/platform/random/random_number_generator.hpp>
Static Public Member Functions | |
static void | enable () |
static void | disable () |
static bool | isReady () |
static uint32_t | getValue () |
Random Number Generator
|
inlinestatic |
Read the generated 32-bit random number
Once read isReady() will return false
until a new number has be generated.
|
inlinestatic |
Check if a new random number is ready
true
if a new random number has been generated and can be read via getValue()