91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

C2000 DSP Tms320f28027 TI 官方例程 V127版本 for CCSV4 & V5

資源截圖

代碼片段和文件信息

?????????????????????????????????????????????????????????????????????????????//?TI?File?$Revision:?/main/5?$
//?Checkin?$Date:?December?16?2009???16:43:59?$
//###########################################################################
//
//?FILE:????DSP2802x_Adc.c
//
//?title:???DSP2802x?ADC?Initialization?&?Support?Functions.
//
//###########################################################################
//?$TI?Release:?2802x?Header?Files?V1.27?$
//?$Release?Date:?June?28?2010?$
//###########################################################################

#include?“DSP2802x_Device.h“?????//?DSP2802x?Headerfile?Include?File
#include?“DSP2802x_Examples.h“???//?DSP2802x?Examples?Include?File

#define?ADC_usDELAY??1000L

//---------------------------------------------------------------------------
//?InitAdc:
//---------------------------------------------------------------------------
//?This?function?initializes?ADC?to?a?known?state.
//
//?NOTE:?ADC?INIT?IS?DIFFERENT?ON?2802x?DEVICES?COMPARED?TO?OTHER?28X?DEVICES
//
void?InitAdc(void)
{
????extern?void?DSP28x_usDelay(Uint32?Count);

????//?*IMPORTANT*
????//?The?Device_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?and/or?the?ADC?Reference
????//?Manual?for?more?information.

????????EALLOW;
????????SysCtrlRegs.PCLKCR0.bit.ADCENCLK?=?1;
????????(*Device_cal)();
????????EDIS;

????//?To?powerup?the?ADC?the?ADCENCLK?bit?should?be?set?first?to?enable
????//?clocks?followed?by?powering?up?the?bandgap?reference?circuitry?and?ADC?core.
????//?Before?the?first?conversion?is?performed?a?5ms?delay?must?be?observed
????//?after?power?up?to?give?all?analog?circuits?time?to?power?up?and?settle

????//?Please?note?that?for?the?delay?function?below?to?operate?correctly?the
????//?CPU_RATE?define?statement?in?the?DSP2802x_Examples.h?file?must
????//?contain?the?correct?CPU?clock?period?in?nanoseconds.
????EALLOW;
????AdcRegs.ADCCTL1.bit.ADCBGPWD??=?1;??????//?Power?ADC?BG
????AdcRegs.ADCCTL1.bit.ADCREFPWD?=?1;??????//?Power?reference
????AdcRegs.ADCCTL1.bit.ADCPWDN???=?1;??????//?Power?ADC
????AdcRegs.ADCCTL1.bit.ADCENABLE?=?1;??????//?Enable?ADC
????AdcRegs.ADCCTL1.bit.ADCREFSEL?=?0;??????//?Select?interal?BG
????EDIS;

????DELAY_US(ADC_usDELAY);?????????//?Delay?before?converting?ADC?channels
}

void?InitAdcAio()
{

???EALLOW;

/*?Configure?ADC?pins?using?AIO?regs*/
//?This?specifies?which?of?the?possible?AIO?pins?will?be?Analog?input?pins.
//?NOTE:?AIO1357-9111315?are?analog?inputs?in?all?AIOMUX1?configurations.
//?Comment?out?other?unwa

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-05-23?00:49??v127\
?????目錄???????????0??2014-05-23?00:49??v127\doc\
?????文件??????602392??2013-08-15?13:45??v127\doc\controlSUITE_DSP2802x_HeaderFiles_Quickstart_Readme.pdf
?????文件???????41417??2013-08-15?13:45??v127\doc\Example_ISRPriorities.pdf
?????文件???????66585??2013-08-15?13:45??v127\doc\Internal_Oscillator_Compensation_Functions.pdf
?????文件???????33754??2013-08-15?13:45??v127\doc\SFO_Library_V6_Errata.pdf
?????目錄???????????0??2014-05-23?00:49??v127\DSP2802x_common\
?????目錄???????????0??2014-05-23?00:49??v127\DSP2802x_common\cmd\
?????文件????????5965??2013-08-15?13:45??v127\DSP2802x_common\cmd\280200_RAM_lnk.cmd
?????文件????????6377??2013-08-15?13:45??v127\DSP2802x_common\cmd\28020_RAM_lnk.cmd
?????文件????????6377??2013-08-15?13:45??v127\DSP2802x_common\cmd\28021_RAM_lnk.cmd
?????文件????????6377??2013-08-15?13:45??v127\DSP2802x_common\cmd\28022_RAM_lnk.cmd
?????文件????????6377??2013-08-15?13:45??v127\DSP2802x_common\cmd\28023_RAM_lnk.cmd
?????文件????????6377??2013-08-15?13:45??v127\DSP2802x_common\cmd\28026_RAM_lnk.cmd
?????文件????????6377??2013-08-15?13:45??v127\DSP2802x_common\cmd\28027_RAM_lnk.cmd
?????文件????????8185??2013-08-15?13:45??v127\DSP2802x_common\cmd\F28020.cmd
?????文件????????7838??2013-08-15?13:45??v127\DSP2802x_common\cmd\F280200.cmd
?????文件????????8181??2013-08-15?13:45??v127\DSP2802x_common\cmd\F28021.cmd
?????文件????????8187??2013-08-15?13:45??v127\DSP2802x_common\cmd\F28022.cmd
?????文件????????8183??2013-08-15?13:45??v127\DSP2802x_common\cmd\F28023.cmd
?????文件????????8186??2013-08-15?13:45??v127\DSP2802x_common\cmd\F28026.cmd
?????文件????????8194??2013-08-15?13:45??v127\DSP2802x_common\cmd\F28027.cmd
?????目錄???????????0??2014-05-23?00:49??v127\DSP2802x_common\gel\
?????目錄???????????0??2014-05-23?00:49??v127\DSP2802x_common\gel\ccsv4\
?????文件???????19073??2013-08-15?13:45??v127\DSP2802x_common\gel\ccsv4\f28020.gel
?????文件???????19068??2013-08-15?13:45??v127\DSP2802x_common\gel\ccsv4\f280200.gel
?????文件???????19067??2013-08-15?13:45??v127\DSP2802x_common\gel\ccsv4\f28021.gel
?????文件???????19067??2013-08-15?13:45??v127\DSP2802x_common\gel\ccsv4\f28022.gel
?????文件???????19068??2013-08-15?13:45??v127\DSP2802x_common\gel\ccsv4\f28023.gel
?????文件???????19067??2013-08-15?13:45??v127\DSP2802x_common\gel\ccsv4\f28026.gel
?????文件???????19069??2013-08-15?13:45??v127\DSP2802x_common\gel\ccsv4\f28027.gel
............此處省略289個文件信息

評論

共有 條評論