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.

}<br />

// input4 value = 0.45<br />

fltIn4 = 0.45;<br />

// output should be 0.195<br />

fltOut = MLIB_VMac_FLT(fltIn1, fltIn2, fltIn3, fltIn4);<br />

// output should be 0.195<br />

fltOut = MLIB_VMac (fltIn1, fltIn2, fltIn3, fltIn4, Define FLT);<br />

// ##############################################################<br />

// Available only if single precision floating point<br />

// implementation selected as default<br />

// ##############################################################<br />

// output should be 0.195<br />

fltOut = MLIB_VMac (fltIn1, fltIn2, fltIn3, fltIn4);<br />

4.184 Function MCLIB_GetVersion<br />

This function returns the in<strong>for</strong>mation about MCLIB version.<br />

4.184.1 Declaration<br />

const MCLIB_VERSION_T * MCLIB_GetVersion();<br />

4.184.2 Return<br />

The function returns the in<strong>for</strong>mation about the version of <strong>Motor</strong> <strong>Control</strong> Library Set.<br />

4.184.3 Description<br />

The function returns the in<strong>for</strong>mation about the version of <strong>Motor</strong> <strong>Control</strong> Library Set. The<br />

in<strong>for</strong>mation are structured as follows:<br />

• <strong>Motor</strong> <strong>Control</strong> Library Set identification code<br />

• <strong>Motor</strong> <strong>Control</strong> Library Set version code<br />

• <strong>Motor</strong> <strong>Control</strong> Library Set supported implementation code<br />

• <strong>Motor</strong> <strong>Control</strong> Library Set default implementation code<br />

4.184.4 Reentrancy<br />

The function is reentrant.<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. 685

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

Saved successfully!

Ooh no, something went wrong!