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.

Function GFLIB_Lut2D_F32<br />

Equation GFLIB_Lut2D_Eq10<br />

where f[x,y 1] is interpolated value, f[x 1,y 1] <strong>and</strong> f[x 2,y 1] are, the ordinate at the<br />

start of the interpolating interval <strong>and</strong> the ordinate at the end of the interpolating<br />

interval. The pTable} is the address provided in the parameters structure pParam-<br />

>f32Table.<br />

4. The same computation as shown above in X-axis by y 2 value. Interpolation <strong>for</strong>mulas<br />

are the same as paragraph 3:<br />

Equation GFLIB_Lut2D_Eq11<br />

Equation GFLIB_Lut2D_Eq12<br />

Equation GFLIB_Lut2D_Eq13<br />

5. Final linear interpolation in Y-axis way Interpolation <strong>for</strong>mulas are the same as<br />

paragraph 3 or 4:<br />

Equation GFLIB_Lut2D_Eq14<br />

Equation GFLIB_Lut2D_Eq15<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 />

372 Freescale Semiconductor, Inc.

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

Saved successfully!

Ooh no, something went wrong!