libDaisy
Hardware Library for Daisy
Toggle main menu visibility
Introduction
Related Pages
Additional Resources
Electrosmith Website
Daisy Seed Product Page
Daisy Web Programmer
Daisy Seed Datasheet
DaisySP DSP Library Documentation
Daisy Forum
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
d
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
w
Functions
Variables
Macros
_
a
b
c
d
e
f
i
l
m
n
o
p
q
r
s
t
u
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
rng.h
Go to the documentation of this file.
1
#pragma once
2
#include "
daisy_core.h
"
3
4
namespace
daisy
5
{
12
class
Random
13
{
14
public
:
15
Random
() {}
16
~Random
() {}
17
25
static
void
Init
();
26
28
static
void
DeInit
();
29
42
static
uint32_t
GetValue
();
43
50
static
float
GetFloat
(
float
min = 0.f,
float
max = 1.f);
51
56
static
bool
IsReady
();
57
};
12
class
Random
{
…
};
58
59
}
// namespace daisy
daisy::Random
True Random Number Generator access.
Definition
rng.h:13
daisy::Random::GetFloat
static float GetFloat(float min=0.f, float max=1.f)
daisy::Random::Init
static void Init()
daisy::Random::DeInit
static void DeInit()
daisy::Random::IsReady
static bool IsReady()
daisy::Random::Random
Random()
Definition
rng.h:15
daisy::Random::GetValue
static uint32_t GetValue()
daisy::Random::~Random
~Random()
Definition
rng.h:16
daisy_core.h
daisy
Hardware defines and helpers for daisy field platform.
Definition
index.h:2
src
per
rng.h