libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/stm32/rng.h>
Go to the source code of this file.
Functions | |
void | rng_disable (void) |
Disable the Random Number Generator peripheral. More... | |
void | rng_enable (void) |
Enable the Random Number Generator peripheral. More... | |
void | rng_interrupt_enable (void) |
Enable the Random Number Generator error interrupt. More... | |
void | rng_interrupt_disable (void) |
Disable the Random Number Generator error interrupt. More... | |
bool | rng_get_random (uint32_t *rand_nr) |
Randomizes a number (non-blocking). More... | |
uint32_t | rng_get_random_blocking (void) |
Get a random number and block until it works. More... | |