Function stm32_hal2::rng::read

source ·
pub fn read() -> i32
Expand description

Gets a random value without needing to pass the Rng struct. Assumes it has been initialized, to enable it and its peripheral clock.