Biblioteca com implementação de filtro IIR passa baixa usando IQ12

Revision:
0:785481a6b9bb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/FiltroIIR.h	Mon Mar 31 21:49:05 2014 +0000
@@ -0,0 +1,21 @@
+#ifndef FILTROIIR_H
+#define FILTROIIR_H
+ 
+#include "mbed.h"
+ 
+class FiltroIIR {
+public:
+    FiltroIIR(int32_t* _ACoef, int32_t* _BCoef);
+    int32_t CalculaNovaAmostra(int32_t _amostraAtual);
+  
+private:  
+  int32_t OrdemFiltro;
+    int32_t *ACoef, *BCoef;
+    int32_t *VetorX, *VetorY;
+    int32_t Q;
+    int32_t K;
+    int32_t QMul(int32_t op_a, int32_t op_b);
+    int32_t QDiv(int32_t op_a, int32_t op_b);
+};
+ 
+#endif