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.

Define MLIB_Abs<br />

8.265 Define MLIB_Abs<br />

#include <br />

8.265.1 Macro Definition<br />

#define MLIB_Abs macro_dispatcher(MLIB_Abs, __VA_ARGS__)(__VA_ARGS__)<br />

8.265.2 Description<br />

This function returns absolute value of input parameter.<br />

8.266 Define MLIB_AbsSat<br />

#include <br />

8.266.1 Macro Definition<br />

#define MLIB_AbsSat macro_dispatcher(MLIB_AbsSat, __VA_ARGS__)(__VA_ARGS__)<br />

8.266.2 Description<br />

This function returns absolute value of input parameter <strong>and</strong> saturate if necessary.<br />

8.267 Define MLIB_Add<br />

#include <br />

8.267.1 Macro Definition<br />

#define MLIB_Add macro_dispatcher(MLIB_Add, __VA_ARGS__)(__VA_ARGS__)<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 />

888 Freescale Semiconductor, Inc.

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

Saved successfully!

Ooh no, something went wrong!