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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8.207.1 Macro Definition<br />

#define GFLIB_SIN_DEFAULT_FLT &fltgflibSinCoef<br />

8.207.2 Description<br />

Default approximation coefficients <strong>for</strong> GFLIB_Sin_FLT function.<br />

8.208 Define GFLIB_Sqrt<br />

#include <br />

8.208.1 Macro Definition<br />

#define GFLIB_Sqrt macro_dispatcher(GFLIB_Sqrt, __VA_ARGS__)(__VA_ARGS__)<br />

8.208.2 Description<br />

This function returns the square root of input value.<br />

8.209 Define GFLIB_TAN_LIMIT_FLT<br />

#include <br />

8.209.1 Macro Definition<br />

#define GFLIB_TAN_LIMIT_FLT ((tFloat)1000)<br />

8.209.2 Description<br />

Max output value <strong>for</strong> the tangent function in single precision floating point<br />

implementation.<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 />

Chapter 8 Macro References<br />

Freescale Semiconductor, Inc. 861

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

Saved successfully!

Ooh no, something went wrong!