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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• Library binary files located in the directory "C:\Program Files\Freescale\MCLIB <strong>for</strong><br />

M<strong>PXR40xx</strong> v0.91\lib\cw" (note: this is the default location <strong>and</strong> may be modified<br />

during library installation)<br />

• Header files located in the directory "C:\Program Files\Freescale\MCLIB <strong>for</strong><br />

M<strong>PXR40xx</strong> v0.91\include" (note: this is the default location <strong>and</strong> may be modified<br />

during library installation)<br />

An example of the procedure of how to add <strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong><br />

<strong>Libraries</strong> <strong>for</strong> M<strong>PXR40xx</strong> files to a CodeWarrior project is described in the step-by-step<br />

instructions below:<br />

1. Create a new or open an existing CodeWarrior project, <strong>for</strong> which <strong>Embedded</strong><br />

<strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> M<strong>PXR40xx</strong> use is intended.<br />

2. Add the library binary files <strong>and</strong> the header files to the CodeWarrior project. Files can<br />

be added by the use of mouse drag-<strong>and</strong>-drop or by selecting the action<br />

from the mouse right button menu in the project window. The CodeWarrior GUI may<br />

open a new window with in<strong>for</strong>mation on new paths added to the project Access Paths<br />

list.<br />

3. Now the <strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> M<strong>PXR40xx</strong> is ready<br />

<strong>for</strong> use.<br />

After completing the procedure, the CodeWarrior project window may look like that in<br />

Figure 2-18.<br />

Figure 2-18. MCLib integration into a CodeWarrior project<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 2 Introduction<br />

Freescale Semiconductor, Inc. 127

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

Saved successfully!

Ooh no, something went wrong!