#include <stdint.h>

#pragma once

	typedef __int64 int64_t;
	typedef __int32 int32_t;
	typedef __int16 int16_t;
//	typedef __int8 int8_t;
	typedef unsigned __int64 uint64_t;
	typedef unsigned __int32 uint32_t;
	typedef unsigned __int16 uint16_t;
	typedef unsigned __int8 uint8_t;

	typedef struct {
		double x0Gain;
		double xMinus1Gain;
		double xMinus2Gain;
		double yMinus1Gain;
		double yMinus2Gain;
		double xMinus1;
		double xMinus2;
		double yMinus1;
		double yMinus2;
	} hsFilterState_t;

//	----------------------------------------------------------------------------
//	filterPar_t
//	----------------------------------------------------------------------------

#define FILTER_STRINGS "None","LagLead", "Notch", "LowPass"
#define NUM_FILTER_STRINGS 4

#define PI (3.14159265358979323846)

const float toRad = (float)(PI / 180);
const double toDeg = (float)(180.0 / PI);

#define TMULT 32