openthread_sys

Function otRandomNonCryptoGetUint8InRange

Source
pub unsafe extern "C" fn otRandomNonCryptoGetUint8InRange(
    aMin: u8,
    aMax: u8,
) -> u8
Expand description

Generates and returns a random uint8_t value within a given range [aMin, aMax).

@param[in] aMin A minimum value (this value can be included in returned random result). @param[in] aMax A maximum value (this value is excluded from returned random result).

@returns A random uint8_t value in the given range (i.e., aMin <= random value < aMax).