![]() |
Mood_lamp
|
This module consists 16-bit xorshift random number generator More...
Functions | |
void | uint16_xorshift_init (uint16_t value) |
Xorshift initialization. More... | |
uint16_t | get_random_uint16 () |
Random value getter. More... | |
This module consists 16-bit xorshift random number generator
uint16_t get_random_uint16 | ( | ) |
Random value getter.
Calculates new random value by 16-bit xorshift method:
void uint16_xorshift_init | ( | uint16_t | value | ) |
Xorshift initialization.
Initializes xorshift random number generator by specified value
[in] | value | Initializing value |