Wixel SDK
random.h
Go to the documentation of this file.
1 
11 #ifndef _RANDOM_H
12 #define _RANDOM_H
13 
14 #include <cc2511_types.h>
15 
25 void randomSeedFromAdc(void);
26 
33 
34 
39 uint8 randomNumber(void);
40 
41 
42 /* Initializes the random number generator using the specified 16-bit seed.
43  * \param seed_msb Any number between 0 and 255.
44  * \param seed_lsb Any number between 0 and 255.
45  *
46  * The parameters to this function determine the sequence of random numbers
47  * produces by the random number generator.
48  */
49 void randomSeed(uint8 seed_msb, uint8 seed_lsb);
50 
51 #endif
uint8 randomNumber(void)
Definition: random.c:9
void randomSeedFromSerialNumber(void)
void randomSeedFromAdc(void)
unsigned char uint8
Definition: cc2511_types.h:9