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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Define F64TOINT16<br />

8.324 Define F64TOINT16<br />

#include <br />

8.324.1 Macro Definition<br />

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

8.324.2 Description<br />

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

integer.<br />

8.325 Define F16TOINT32<br />

#include <br />

8.325.1 Macro Definition<br />

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

8.325.2 Description<br />

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

placed at the lower 16-bits of the 32-bit result.<br />

8.326 Define F32TOINT32<br />

#include <br />

8.326.1 Macro Definition<br />

#define F32TOINT32 ((tS32) (x))<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 />

910 Freescale Semiconductor, Inc.

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

Saved successfully!

Ooh no, something went wrong!