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.310.2 Description<br />

Value 0.25 in 32-bit fixed point fractional <strong>for</strong>mat.<br />

8.311 Define FRAC16_0_25<br />

#include <br />

8.311.1 Macro Definition<br />

#define FRAC16_0_25 ((tFrac16) 0x2000)<br />

8.311.2 Description<br />

Value 0.25 in 16-bit fixed point fractional <strong>for</strong>mat.<br />

8.312 Define INT16_MAX<br />

#include <br />

8.312.1 Macro Definition<br />

#define INT16_MAX ((tS16) 0x7fff)<br />

8.312.2 Description<br />

Constant representing the maximal positive value of a signed 16-bit fixed point integer<br />

number, equal to 2 15 -1 = 0x7fff.<br />

8.313 Define INT16_MIN<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 />

Chapter 8 Macro References<br />

Freescale Semiconductor, Inc. 905

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

Saved successfully!

Ooh no, something went wrong!