Difference between pages "r7.1.1:Macro LFDS711 PRNG ST GENERATE" and "r7.1.1:Macro LFDS711 PRNG ST MIXING FUNCTION"
(Difference between pages)
Jump to navigation
Jump to search
m (1 revision imported) |
m (1 revision imported) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:macro | {{DISPLAYTITLE:macro LFDS711_PRNG_ST_MIXING_FUNCTION}} | ||
==Source Files== | ==Source Files== | ||
└───liblfds711 | └───liblfds711 | ||
Line 10: | Line 10: | ||
==Macro== | ==Macro== | ||
#define | #define LFDS711_PRNG_MIXING_FUNCTION( random_value ) | ||
==Parameters== | ==Parameters== | ||
''random_value''. | ''random_value''. | ||
: A ''lfds711_pal_uint_t''. Not a pointer to it - the varible itself. It will be set by the macro. | : A ''lfds711_pal_uint_t''. Not a pointer to it - the varible itself. It will be set by the macro. | ||
Line 23: | Line 20: | ||
==Notes== | ==Notes== | ||
This macro runs a mixing function on the ''random_value'' argument, randomizing its bits. | |||
The macro is single-threaded. | |||
==See Also== | ==See Also== | ||
* [[r7.1.1:PRNG|PRNG]] | * [[r7.1.1:PRNG|PRNG]] |
Latest revision as of 18:12, 16 February 2017
Source Files
└───liblfds711 └───inc └───liblfds711 lfds711_prng.h
Opaque Structures
struct lfds711_prng_st_state;
Macro
#define LFDS711_PRNG_MIXING_FUNCTION( random_value )
Parameters
random_value.
- A lfds711_pal_uint_t. Not a pointer to it - the varible itself. It will be set by the macro.
Return Value
No return value.
Notes
This macro runs a mixing function on the random_value argument, randomizing its bits.
The macro is single-threaded.