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.

Define FLOAT_DIVBY_SQRT3<br />

8.344.2 Description<br />

Macro converting a signed fractional [-1,1) number into a 32-bit fixed point number in<br />

<strong>for</strong>mat Q1.31.<br />

8.345 Define FLOAT_DIVBY_SQRT3<br />

#include <br />

8.345.1 Macro Definition<br />

#define FLOAT_DIVBY_SQRT3 ((tFloat) 0.5773502691896258)<br />

8.345.2 Description<br />

One over sqrt(3) in single precision floating point <strong>for</strong>mat.<br />

8.346 Define FLOAT_SQRT3_DIVBY_2<br />

#include <br />

8.346.1 Macro Definition<br />

#define FLOAT_SQRT3_DIVBY_2 ((tFloat) 0.866025403784439)<br />

8.346.2 Description<br />

Sqrt(3) divided by two in single precision floating point <strong>for</strong>mat.<br />

8.347 Define FLOAT_SQRT3_DIVBY_4<br />

#include <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 />

918 Freescale Semiconductor, Inc.

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

Saved successfully!

Ooh no, something went wrong!