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.

8.337.1 Macro Definition<br />

#define F16_1_DIVBY_SQRT3 ((tFrac16) 0x49E7)<br />

8.337.2 Description<br />

One over sqrt(3) with a 16-bit result, the result rounded <strong>for</strong> a better precision, i.e.<br />

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

8.338 Define F32_1_DIVBY_SQRT3<br />

#include <br />

8.338.1 Macro Definition<br />

#define F32_1_DIVBY_SQRT3 ((tFrac32) 0x49E69D16)<br />

8.338.2 Description<br />

One over sqrt(3) with a 32-bit result, the result rounded <strong>for</strong> a better precision, i.e.<br />

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

8.339 Define F16_SQRT3_DIVBY_2<br />

#include <br />

8.339.1 Macro Definition<br />

#define F16_SQRT3_DIVBY_2 ((tFrac16) 0x6EDA)<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. 915

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

Saved successfully!

Ooh no, something went wrong!