| OpENer - Open Source EtherNet/IP(TM)  I/O Target Stack
    2.1
    | 
#include <stdint.h>Go to the source code of this file.
| Functions | |
| uint32_t | NextXorShiftUint32 (void) | 
| Returns the next generated pseudo-random number.  More... | |
| void | SetXorShiftSeed (uint32_t seed) | 
| Sets the initial seed for the XOR shift pseudo-random algorithm.  More... | |
The public interface of the XOR shift pseudo-random number generator
Definition in file xorshiftrandom.h.
| uint32_t NextXorShiftUint32 | ( | void | ) | 
Returns the next generated pseudo-random number.
Definition at line 25 of file xorshiftrandom.c.
References CalculateNextSeed().
| void SetXorShiftSeed | ( | uint32_t | seed | ) | 
Sets the initial seed for the XOR shift pseudo-random algorithm.
| seed | The initial seed value | 
< File-global variable holding the current seed
Definition at line 11 of file xorshiftrandom.c.