資源簡介
關(guān)于DSP的CCS6.0平臺下的工程搭建(完全可移植),所建工程能夠?qū)崿F(xiàn)完全可移植,即任意拷貝到其他位置或電腦都能直接編譯(需導(dǎo)入工程)。之后就可以延續(xù)使用此工程,只需更改Project工程名,按自己的需要添加部分文件或庫。(可在CSDN搜索“關(guān)于DSP的CCS6.0平臺下的工程搭建(完全可移植)”相關(guān)教程)

代碼片段和文件信息
//?TI?File?$Revision:?/main/5?$
//?Checkin?$Date:?October?23?2007???13:34:09?$
//###########################################################################
//
//?FILE: DSP2833x_Adc.c
//
//?title: DSP2833x?ADC?Initialization?&?Support?Functions.
//
//###########################################################################
//?$TI?Release:?F2833x?Support?Library?v2.00.00.00?$
//?$Release?Date:?Wed?Jan?25?16:04:10?CST?2017?$
//?$Copyright:
//?Copyright?(C)?2009-2017?Texas?Instruments?Incorporated?-?http://www.ti.com/
//
//?Redistribution?and?use?in?source?and?binary?forms?with?or?without?
//?modification?are?permitted?provided?that?the?following?conditions?
//?are?met:
//?
//???Redistributions?of?source?code?must?retain?the?above?copyright?
//???notice?this?list?of?conditions?and?the?following?disclaimer.
//?
//???Redistributions?in?binary?form?must?reproduce?the?above?copyright
//???notice?this?list?of?conditions?and?the?following?disclaimer?in?the?
//???documentation?and/or?other?materials?provided?with?the???
//???distribution.
//?
//???Neither?the?name?of?Texas?Instruments?Incorporated?nor?the?names?of
//???its?contributors?may?be?used?to?endorse?or?promote?products?derived
//???from?this?software?without?specific?prior?written?permission.
//?
//?THIS?SOFTWARE?IS?PROVIDED?BY?THE?COPYRIGHT?HOLDERS?AND?CONTRIBUTORS?
//?“AS?IS“?AND?ANY?EXPRESS?OR?IMPLIED?WARRANTIES?INCLUDING?BUT?NOT?
//?LIMITED?TO?THE?IMPLIED?WARRANTIES?OF?MERCHANTABILITY?AND?FITNESS?FOR
//?A?PARTICULAR?PURPOSE?ARE?DISCLAIMED.?IN?NO?EVENT?SHALL?THE?COPYRIGHT?
//?OWNER?OR?CONTRIBUTORS?BE?LIABLE?FOR?ANY?DIRECT?INDIRECT?INCIDENTAL?
//?SPECIAL?EXEMPLARY?OR?CONSEQUENTIAL?DAMAGES?(INCLUDING?BUT?NOT?
//?LIMITED?TO?PROCUREMENT?OF?SUBSTITUTE?GOODS?OR?SERVICES;?LOSS?OF?USE
//?DATA?OR?PROFITS;?OR?BUSINESS?INTERRUPTION)?HOWEVER?CAUSED?AND?ON?ANY
//?THEORY?OF?LIABILITY?WHETHER?IN?CONTRACT?STRICT?LIABILITY?OR?TORT?
//?(INCLUDING?NEGLIGENCE?OR?OTHERWISE)?ARISING?IN?ANY?WAY?OUT?OF?THE?USE?
//?OF?THIS?SOFTWARE?EVEN?IF?ADVISED?OF?THE?POSSIBILITY?OF?SUCH?DAMAGE.
//?$
//###########################################################################
//
//?Included?Files
//
#include?“DSP2833x_Device.h“?????//?DSP2833x?Headerfile?Include?File
#include?“DSP2833x_Examples.h“???//?DSP2833x?Examples?Include?File
//
//?Defines
//
#define?ADC_usDELAY??5000L
//
//?InitAdc?-?This?function?initializes?ADC?to?a?known?state.
//
void?
InitAdc(void)
{
????extern?void?DSP28x_usDelay(Uint32?Count);
????//
????//??????????????????????????*IMPORTANT*
????//?The?ADC_cal?function?which??copies?the?ADC?calibration?values?from?
????//?TI?reserved?OTP?into?the?ADCREFSEL?and?ADCOFFTRIM?registers?occurs?
????//?automatically?in?the?Boot?ROM.?If?the?boot?ROM?code?is?bypassed?during
????//?the?debug?process?the?following?function?MUST?be?called?for?the?ADC?to
????//?function?according?to?specification.?The?clocks?to?the?ADC?MUST?be?
????//?enabled?before?calling?this?function.?See?the?device?data?manual
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-04-17?19:32??F2833x?Project?Template\
?????文件?????????480??2017-04-17?19:32??F2833x?Project?Template\.ccsproject
?????文件???????22618??2017-04-17?19:32??F2833x?Project?Template\.cproject
?????文件?????????853??2017-04-17?19:32??F2833x?Project?Template\.project
?????目錄???????????0??2017-04-17?19:32??F2833x?Project?Template\.settings\
?????文件??????????62??2017-04-17?19:32??F2833x?Project?Template\.settings\org.eclipse.cdt.codan.core.prefs
?????文件?????????123??2017-04-16?10:58??F2833x?Project?Template\.settings\org.eclipse.cdt.debug.core.prefs
?????文件?????????503??2017-04-16?19:21??F2833x?Project?Template\.settings\org.eclipse.core.resources.prefs
?????目錄???????????0??2017-04-17?19:32??F2833x?Project?Template\Cmd\
?????文件????????7270??2017-04-16?10:58??F2833x?Project?Template\Cmd\28335_RAM_lnk.cmd
?????文件???????10266??2017-01-26?06:12??F2833x?Project?Template\Cmd\DSP2833x_Headers_nonBIOS.cmd
?????文件???????11052??2017-01-26?06:12??F2833x?Project?Template\Cmd\F28335.cmd
?????目錄???????????0??2018-03-19?09:54??F2833x?Project?Template\Debug\
?????目錄???????????0??2017-04-17?19:32??F2833x?Project?Template\Debug\Cmd\
?????文件?????????289??2018-03-19?09:51??F2833x?Project?Template\Debug\Cmd\subdir_rules.mk
?????文件?????????373??2018-03-19?09:51??F2833x?Project?Template\Debug\Cmd\subdir_vars.mk
?????文件???????29014??2018-03-19?09:54??F2833x?Project?Template\Debug\F2833x?Project?Template.map
?????文件??????142421??2018-03-19?09:54??F2833x?Project?Template\Debug\F2833x?Project?Template.out
?????文件??????156516??2018-03-19?09:54??F2833x?Project?Template\Debug\F2833x?Project?Template_li
?????目錄???????????0??2017-04-17?19:32??F2833x?Project?Template\Debug\FWlib\
?????目錄???????????0??2017-05-30?17:46??F2833x?Project?Template\Debug\FWlib\Source\
?????文件????????1351??2017-05-30?17:45??F2833x?Project?Template\Debug\FWlib\Source\DSP2833x_ADC_cal.obj
?????文件???????12323??2017-05-30?17:45??F2833x?Project?Template\Debug\FWlib\Source\DSP2833x_Adc.obj
?????文件????????6661??2017-05-30?17:46??F2833x?Project?Template\Debug\FWlib\Source\DSP2833x_Adc.pp
?????文件?????????858??2017-05-30?17:45??F2833x?Project?Template\Debug\FWlib\Source\DSP2833x_CSMPasswords.obj
?????文件????????1652??2017-05-30?17:45??F2833x?Project?Template\Debug\FWlib\Source\DSP2833x_CodeStartBranch.obj
?????文件????????5875??2017-05-30?17:45??F2833x?Project?Template\Debug\FWlib\Source\DSP2833x_CpuTimers.obj
?????文件????????6829??2017-05-30?17:46??F2833x?Project?Template\Debug\FWlib\Source\DSP2833x_CpuTimers.pp
?????文件????????1265??2017-05-30?17:45??F2833x?Project?Template\Debug\FWlib\Source\DSP2833x_DBGIER.obj
?????文件???????35700??2017-05-30?17:45??F2833x?Project?Template\Debug\FWlib\Source\DSP2833x_DMA.obj
?????文件????????6661??2017-05-30?17:46??F2833x?Project?Template\Debug\FWlib\Source\DSP2833x_DMA.pp
............此處省略118個文件信息
評論
共有 條評論