Mood_lamp
xorshift.h
Go to the documentation of this file.
1 
25 #ifndef __XORSHIFT_H__
26 #define __XORSHIFT_H__
27 
28 #include <stm8s.h>
29 
36 void uint16_xorshift_init(uint16_t value);
37 uint16_t get_random_uint16();
38 
40 
41 #endif /* __XORSHIFT_H__ */
void uint16_xorshift_init(uint16_t value)
Xorshift initialization.
Definition: xorshift.c:40
uint16_t get_random_uint16()
Random value getter.
Definition: xorshift.c:58