Wixel SDK
Main Page
Modules
Data Structures
Files
File List
Globals
include
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
32
void
randomSeedFromSerialNumber
(
void
);
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
cc2511_types.h
randomNumber
uint8 randomNumber(void)
Definition:
random.c:9
randomSeedFromSerialNumber
void randomSeedFromSerialNumber(void)
Definition:
random_from_sernum.c:9
randomSeedFromAdc
void randomSeedFromAdc(void)
Definition:
random_from_adc.c:17
uint8
unsigned char uint8
Definition:
cc2511_types.h:9
Generated on Mon Sep 28 2015 11:52:10 for Wixel SDK by
1.8.10