MotorWare f2806x Module API Documentation
Functions
32b/filter_so.c File Reference

Portable C fixed point code. These functions define the second-order filter (FILTER) module routines. More...

#include "sw/modules/filter/src/32b/filter_so.h"

Go to the source code of this file.

Functions

void FILTER_SO_getDenCoeffs (FILTER_SO_Handle handle, _iq *pa1, _iq *pa2)
 Gets the second-order filter denominator coefficients. More...
 
void FILTER_SO_getInitialConditions (FILTER_SO_Handle handle, _iq *px1, _iq *px2, _iq *py1, _iq *py2)
 Gets the initial conditions of the second-order filter. More...
 
void FILTER_SO_getNumCoeffs (FILTER_SO_Handle handle, _iq *pb0, _iq *pb1, _iq *pb2)
 Gets the second-order filter numerator coefficients. More...
 
FILTER_SO_Handle FILTER_SO_init (void *pMemory, const size_t numBytes)
 Initializes the second-order filter. More...
 
void FILTER_SO_setDenCoeffs (FILTER_SO_Handle handle, const _iq a1, const _iq a2)
 Sets the second-order filter denominator coefficients. More...
 
void FILTER_SO_setInitialConditions (FILTER_SO_Handle handle, const _iq x1, const _iq x2, const _iq y1, const _iq y2)
 Sets the initial conditions of the second-order filter. More...
 
void FILTER_SO_setNumCoeffs (FILTER_SO_Handle handle, const _iq b0, const _iq b1, const _iq b2)
 Sets the second-order filter numerator coefficients. More...
 

Detailed Description

Portable C fixed point code. These functions define the second-order filter (FILTER) module routines.

(C) Copyright 2012, Texas Instruments, Inc.

Definition in file 32b/filter_so.c.