riot_sys

Function random_uint32_range

Source
pub unsafe extern "C" fn random_uint32_range(a: u32, b: u32) -> u32
Expand description

@brief generates a random number r with a <= r < b.

@param[in] a minimum for random number @param[in] b upper bound for random number

@pre a < b

@return a random number on [a,b)-interval