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.

4.92.2 Arguments<br />

Table 4-117. GFLIB_VectorLimit_F16 arguments<br />

Type Name Direction Description<br />

const<br />

SWLIBS_2Syst_F16<br />

*const<br />

SWLIBS_2Syst_F16<br />

*const<br />

const<br />

GFLIB_VECTORLIMIT<br />

_T_F16 *const<br />

4.92.3 Return<br />

pIn input Pointer to the structure of the input vector.<br />

pOut output Pointer to the structure of the limited output vector.<br />

pParam input Pointer to the parameters structure.<br />

The function will return true "TRUE" if the input vector is being limited, or false<br />

"FALSE" otherwise.<br />

4.92.4 Description<br />

The GFLIB_VectorLimit function limits the magnitude of the input vector, keeping its<br />

direction unchanged. Limitation is per<strong>for</strong>med as follows:<br />

Where:<br />

Equation GFLIB_VectorLimit_Eq1<br />

Equation GFLIB_VectorLimit_Eq2<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 4 API References<br />

Freescale Semiconductor, Inc. 443

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

Saved successfully!

Ooh no, something went wrong!