|
TMS320C6000 Datasheet, PDF (120/126 Pages) Texas Instruments – Code Composer Studio Tutorial | |||
|
◁ |
Adding Channels and an SWI to the Configuration File
7) Right-click on the SWI manager and choose Insert SWI.
8) Rename the new SWI0 object to A2DscaleD2A_SWI.
9) Set the following properties for A2DscaleD2A_SWI and click OK.
s function. This property causes the object to call the A2DscaleD2A
function when this software interrupt is posted and runs.
s mailbox. This is the initial value of the mailbox for this object. The
input_HST object clears the first bit of the mask and the output_HST
object clears the second bit of the mask. When this object runs the
A2DscaleD2A function, the mailbox value is reset to 3.
s arg0, arg1. The names of the two HST objects are passed to the
A2DscaleD2A function.
10) Choose FileâClose. You are asked whether you want to save your
changes to hostio.cdb. Click Yes. Saving the configuration also generates
hostiocfg.cmd, hostiocfg.s62, and hostiocfg.h62.
7-16
|
▷ |