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 GFLIB_RAMP_T<br />

8.187.1 Macro Definition<br />

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

8.187.2 Description<br />

The function calculates the up/down ramp with the step increment/decrement defined in<br />

the pParam structure.<br />

8.188 Define GFLIB_RAMP_T<br />

#include <br />

8.188.1 Macro Definition<br />

#define GFLIB_RAMP_T GFLIB_RAMP_T_FLT<br />

8.188.2 Description<br />

Definition of GFLIB_RAMP_T as alias <strong>for</strong> GFLIB_RAMP_T_F32 datatype in case the<br />

32-bit fractional implementation is selected.<br />

Definition of GFLIB_RAMP_T as alias <strong>for</strong> GFLIB_RAMP_T_F16 datatype in case the<br />

16-bit fractional implementation is selected.<br />

Definition of GFLIB_RAMP_T as alias <strong>for</strong> GFLIB_RAMP_T_FLT datatype in case the<br />

single precision floating point implementation is selected.<br />

8.189 Define GFLIB_RAMP_T<br />

#include <br />

8.189.1 Macro Definition<br />

#define GFLIB_RAMP_T GFLIB_RAMP_T_FLT<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 />

852 Freescale Semiconductor, Inc.

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

Saved successfully!

Ooh no, something went wrong!