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.321.1 Macro Definition<br />

#define INT64TOINT32 ((tS32) (x))<br />

8.321.2 Description<br />

Type casting - signed 64-bit integer value cast to a signed 32-bit integer.<br />

8.322 Define F16TOINT16<br />

#include <br />

8.322.1 Macro Definition<br />

#define F16TOINT16 ((tS16) (x))<br />

8.322.2 Description<br />

Type casting - signed 16-bit fractional value cast to a signed 16-bit integer.<br />

8.323 Define F32TOINT16<br />

#include <br />

8.323.1 Macro Definition<br />

#define F32TOINT16 ((tS16) (x))<br />

8.323.2 Description<br />

Chapter 8 Macro References<br />

Type casting - lower 16 bits of a signed 32-bit fractional value cast to a signed 16-bit<br />

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

Freescale Semiconductor, Inc. 909

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

Saved successfully!

Ooh no, something went wrong!