Electronic Components Datasheet Search
  English  ▼

X  

TMS320C6000 Datasheet(PDF) 95 Page - Texas Instruments

Part # TMS320C6000
Description  Code Composer Studio Tutorial
PDF  126 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TI [Texas Instruments]
Direct Link  http://www.ti.com
Logo TI - Texas Instruments

TMS320C6000 Datasheet(HTML) 95 Page - Texas Instruments

Back Button TMS320C6000 Datasheet HTML 91Page - Texas Instruments TMS320C6000 Datasheet HTML 92Page - Texas Instruments TMS320C6000 Datasheet HTML 93Page - Texas Instruments TMS320C6000 Datasheet HTML 94Page - Texas Instruments TMS320C6000 Datasheet HTML 95Page - Texas Instruments TMS320C6000 Datasheet HTML 96Page - Texas Instruments TMS320C6000 Datasheet HTML 97Page - Texas Instruments TMS320C6000 Datasheet HTML 98Page - Texas Instruments TMS320C6000 Datasheet HTML 99Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 95 / 126 page
background image
Reviewing the Source Code Changes
Analyzing Real-Time Behavior
6-5
6.3
Reviewing the Source Code Changes
Double-click on the volume.c file in the Project View to see the source code
in the right half of the Code Composer Studio window.
Since you copied the volume.c file from the c:\ti\c6000\tutorial\volume4\ folder
to your working folder, the source code now contains the following differences
from the source code used in the previous chapter:
t
Added the following to the list of included header files:
#include <rtdx.h>
t
Added the following to the declarations:
RTDX_CreateInputChannel(control_channel);
Void loadchange(Void);
t
Added the following call to the main function:
RTDX_enableInput(&control_channel);
t
The following function is called by the PRD object you created in section
6.2, page 6-3. This is where the processor is controlled.
/* ======== loadchange ========
* FUNCTION: Called from loadchange_PRD to
* periodically update load value.
* PARAMETERS: none.
* RETURN VALUE: none.
*/
Void loadchange()
{
static Int control = MINCONTROL;
/* Read new load control when host sends it */
if (!RTDX_channelBusy(&control_channel)) {
RTDX_readNB(&control_channel, &control,
sizeof(control));
if ((control < MINCONTROL) || (control > MAXCONTROL)) {
LOG_printf(&trace,"Control value out of range");
}
else {
processingLoad = control;
LOG_printf(&trace,"Load value = %d",processingLoad);
}
}
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com