-
Notifications
You must be signed in to change notification settings - Fork 2
/
random.h
29 lines (24 loc) · 840 Bytes
/
random.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
******************************************************************************
* File Name : random.h
* Author : Xavier Halgand
* Date :
* Description :
******************************************************************************
*/
#ifndef __RANDOM_H__
#define __RANDOM_H__
/* Includes ------------------------------------------------------------------*/
#include "random.h"
#include "constants.h"
#include <stdint.h>
#include <math.h>
#include <stdlib.h>
#include "stm32h7xx_hal.h"
/*-Exported functions---------------------------------------------------------*/
void randomGen_init (void);
float_t frand_a_b (float_t a, float_t b);
float_t randomNum (void);
uint8_t MIDIrandVal(void);
/************************************************************************************/
#endif