Go to the source code of this file.
◆ Random_get16()
uint16_t Random_get16 |
( |
void |
| ) |
|
Get random number with u16 range.
- Returns
- Random number between [0...U16_MAX]
◆ Random_get32()
uint32_t Random_get32 |
( |
void |
| ) |
|
Get random number with u32 range.
- Returns
- Random number between [0...U32_MAX]
◆ Random_get8()
uint8_t Random_get8 |
( |
void |
| ) |
|
Get random number with u8 range.
- Returns
- Random number between [0...U8_MAX]
◆ Random_init()
void Random_init |
( |
uint32_t |
seed | ) |
|
Initialize the random generator.
- Parameters
-
◆ Random_get
◆ Random_jitter
#define Random_jitter |
( |
|
x | ) |
(Random_get32() % (((x) + 1 ) & 0xFFFFFFF)) |
Generate random jitter.
- Parameters
-
- Returns
- Jitter between 0 ... x
Definition at line 46 of file random.h.