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.

Equation GFLIB_Lut2D_Eq10<br />

6. The same computation as shown above in the X-axis by the y 2 value:<br />

Equation GFLIB_Lut2D_Eq11<br />

reduced to (division by the interval length is avoided):<br />

Equation GFLIB_Lut2D_Eq12<br />

interpretation in C language is the following:<br />

7. Final linear interpolation in the Y-axis:<br />

Equation GFLIB_Lut2D_Eq13<br />

Equation GFLIB_Lut2D_Eq14<br />

reduced to (division by the interval length is avoided):<br />

Equation GFLIB_Lut2D_Eq15<br />

interpretation in C language is the following:<br />

Equation GFLIB_Lut2D_Eq16<br />

Chapter 4 API References<br />

The shift amounts shall be provided in the parameters structure pParam-<br />

>s32ShamOffset1 <strong>and</strong> pParam->s32ShamOffset2. The address of the table with the<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. 385

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

Saved successfully!

Ooh no, something went wrong!