PENNA_B/Exp01/Core/Inc/DEXP.h
2025-11-19 05:41:34 +01:00

14 lines
363 B
C

#ifndef INC_DEXP_H_
#define INC_DEXP_H_
#include <stdint.h>
#define AMP 40000 // ampiezza
#define T1 25 // cost. tempo tau-1
#define T2 8 // cost. tempo tau-2
#define EXP1 0.96079*(1<<10) // valore numerico exp(-1/T1)
#define EXP2 0.88250*(1<<10) // valore numerico exp(-1/T2)
void eval_dexp(int a, int t1, int t2, uint16_t* espo);
#endif /* INC_DEXP_H_ */