03.08.2013 Views

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4<br />

API References<br />

This section describes in details the Application Interface <strong>for</strong> all functions available in<br />

<strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> M<strong>PXR40xx</strong>.<br />

4.1 Function GDFLIB_FilterFIRInit_F32<br />

This function initializes the FIR filter buffers.<br />

4.1.1 Declaration<br />

void GDFLIB_FilterFIRInit_F32(const GDFLIB_FILTERFIR_PARAM_T_F32 *const pParam,<br />

GDFLIB_FILTERFIR_STATE_T_F32 *const pState, tFrac32 *pInBuf);<br />

4.1.2 Arguments<br />

Table 4-1. GDFLIB_FilterFIRInit_F32 arguments<br />

Type Name Direction Description<br />

const<br />

GDFLIB_FILTERFIR_P<br />

ARAM_T_F32 *const<br />

GDFLIB_FILTERFIR_S<br />

TATE_T_F32 *const<br />

pParam input Pointer to the parameters structure.<br />

pState input,<br />

output<br />

tFrac32 * pInBuf input,<br />

output<br />

Pointer to the state structure.<br />

Pointer to a buffer <strong>for</strong> storing filter input signal values, must<br />

point to a R/W memory region <strong>and</strong> must be a filter order + 1<br />

long.<br />

<strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> <strong>PXR40xx</strong>, Rev. 1.0<br />

Freescale Semiconductor, Inc. 149

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!