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

This function returns sum of two input parameters.<br />

8.268 Define MLIB_AddSat<br />

#include <br />

8.268.1 Macro Definition<br />

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

8.268.2 Description<br />

This function returns sum of two input parameters <strong>and</strong> saturate if necessary.<br />

8.269 Define MLIB_Convert<br />

#include <br />

8.269.1 Macro Definition<br />

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

8.269.2 Description<br />

This function converts the input value to different representation.<br />

8.270 Define MLIB_ConvertPU<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. 889

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

Saved successfully!

Ooh no, something went wrong!