03.08.2013 Views

Embedded Software and Motor Control Libraries for PXS20xx

Embedded Software and Motor Control Libraries for PXS20xx

Embedded Software and Motor Control Libraries for PXS20xx

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 F32_SQRT3_DIVBY_2<br />

8.339.2 Description<br />

Sqrt(3) divided by two with a 16-bit result, the result rounded <strong>for</strong> a better precision, i.e.<br />

round( √(3)/2*2 15 ).<br />

8.340 Define F32_SQRT3_DIVBY_2<br />

#include <br />

8.340.1 Macro Definition<br />

#define F32_SQRT3_DIVBY_2 ((tFrac32) 0x6ED9EBA1)<br />

8.340.2 Description<br />

Sqrt(3) divided by two with a 32-bit result, the result rounded <strong>for</strong> a better precision, i.e.<br />

round( √(3)/2*2 31 ).<br />

8.341 Define F16_SQRT2_DIVBY_2<br />

#include <br />

8.341.1 Macro Definition<br />

#define F16_SQRT2_DIVBY_2 ((tFrac16) 0x5A82)<br />

8.341.2 Description<br />

Sqrt(2) divided by two with a 16-bit result, the result rounded <strong>for</strong> a better precision, i.e.<br />

round( √(2)/2*2 15 ).<br />

8.342 Define F32_SQRT2_DIVBY_2<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>PXS20xx</strong>, Rev. 1.0<br />

916 Freescale Semiconductor, Inc.

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

Saved successfully!

Ooh no, something went wrong!