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

  • 大小: 32.25MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-28
  • 語言: 其他
  • 標簽: DSP??TMS320F2812??

資源簡介

TMS320F2812例子程序,DSP2812學習板原理圖,F2812開發板板上的CPLD源代碼,DSP2812M_examples

資源截圖

代碼片段和文件信息

//###########################################################################
//
//?FILE: DSP281x_Adc.c
//
//?title: DSP281x?ADC?Initialization?&?Support?Functions.
//
//###########################################################################
//
//??Ver?|?dd?mmm?yyyy?|?Who??|?Description?of?changes
//?=====|=============|======|===============================================
//??1.00|?11?Sep?2003?|?L.H.?|?Changes?since?previous?version?(v.58?Alpha)
//??????|?????????????|??????|?ADC_usDELAY?changed?from?5000L?to?8000L
//###########################################################################

#include?“DSP281x_Device.h“?????//?DSP281x?Headerfile?Include?File
#include?“DSP281x_Examples.h“???//?DSP281x?Examples?Include?File

#define?ADC_usDELAY??8000L
#define?ADC_usDELAY2?20L

//---------------------------------------------------------------------------
//?InitAdc:?
//---------------------------------------------------------------------------
//?This?function?initializes?ADC?to?a?known?state.
//
void?InitAdc(void)
{
extern?void?DSP28x_usDelay(Uint32?Count);

????//?To?powerup?the?ADC?the?ADCENCLK?bit?should?be?set?first?to?enable
????//?clocks?followed?by?powering?up?the?bandgap?and?reference?circuitry.
????//?After?a?5ms?delay?the?rest?of?the?ADC?can?be?powered?up.?After?ADC
????//?powerup?another?20us?delay?is?required?before?performing?the?first
????//?ADC?conversion.?Please?note?that?for?the?delay?function?below?to
????//?operate?correctly?the?CPU_CLOCK_SPEED?define?statement?in?the
????//?DSP28_Examples.h?file?must?contain?the?correct?CPU?clock?period?in
????//?nanoseconds.?For?example:

AdcRegs.ADCTRL3.bit.ADCBGRFDN?=?0x3; //?Power?up?bandgap/reference?circuitry
DELAY_US(ADC_usDELAY);??????????????????//?Delay?before?powering?up?rest?of?ADC
AdcRegs.ADCTRL3.bit.ADCPWDN?=?1; //?Power?up?rest?of?ADC
DELAY_US(ADC_usDELAY2);?????????????????//?Delay?after?powering?up?ADC
}

//===========================================================================
//?No?more.
//===========================================================================

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-01-12?20:01??DPS2812M_common\
?????目錄???????????0??2012-01-12?20:01??DPS2812M_common\cmd\
?????文件????????7627??2003-09-11?10:35??DPS2812M_common\cmd\F2810.cmd
?????文件????????8228??2003-09-11?10:34??DPS2812M_common\cmd\F2812.cmd
?????文件????????2042??2002-06-21?11:10??DPS2812M_common\cmd\F2812EzDSP_IQmath.cmd
?????文件????????4813??2005-11-01?10:44??DPS2812M_common\cmd\F2812_EzDSP_RAM_lnk.cmd
?????文件????????7496??2003-09-11?10:34??DPS2812M_common\cmd\F2812_XintfBoot.cmd
?????目錄???????????0??2012-01-12?20:01??DPS2812M_common\include\
?????文件????????4938??2003-09-11?10:35??DPS2812M_common\include\DSP281x_DefaultIsr.h
?????文件????????3525??2003-09-11?10:35??DPS2812M_common\include\DSP281x_Examples.h
?????文件????????2374??2003-09-11?10:35??DPS2812M_common\include\DSP281x_GlobalPrototypes.h
?????文件??????147079??2003-09-11?10:35??DPS2812M_common\include\DSP281x_SWPrioritizedIsrLevels.h
?????文件??????122878??2005-10-24?15:47??DPS2812M_common\include\IQmathLib.h
?????目錄???????????0??2012-01-12?20:01??DPS2812M_common\lib\
?????文件??????528962??2002-06-22?02:32??DPS2812M_common\lib\IQmath.lib
?????文件??????554166??2004-12-08?16:02??DPS2812M_common\lib\iqDMC_ml.L28
?????目錄???????????0??2012-01-12?20:01??DPS2812M_common\source\
?????文件????????2137??2003-09-11?10:47??DPS2812M_common\source\DSP281x_Adc.c
?????文件????????2481??2003-09-11?10:48??DPS2812M_common\source\DSP281x_CSMPasswords.asm
?????文件????????2177??2003-09-11?10:48??DPS2812M_common\source\DSP281x_CodeStartBranch.asm
?????文件????????4665??2003-09-11?10:47??DPS2812M_common\source\DSP281x_CpuTimers.c
?????文件?????????898??2003-09-11?10:47??DPS2812M_common\source\DSP281x_DBGIER.asm
?????文件???????25791??2003-09-11?10:47??DPS2812M_common\source\DSP281x_DefaultIsr.c
?????文件????????6001??2006-04-05?11:30??DPS2812M_common\source\DSP281x_ECan.c
?????文件????????1120??2003-09-11?10:46??DPS2812M_common\source\DSP281x_Ev.c
?????文件????????1724??2005-11-07?17:36??DPS2812M_common\source\DSP281x_Gpio.c
?????文件????????1920??2003-09-11?10:39??DPS2812M_common\source\DSP281x_InitPeripherals.c
?????文件????????1153??2003-09-11?10:39??DPS2812M_common\source\DSP281x_Mcbsp.c
?????文件????????1375??2003-09-11?10:39??DPS2812M_common\source\DSP281x_MemCopy.c
?????文件????????2822??2003-09-11?10:39??DPS2812M_common\source\DSP281x_PieCtrl.c
?????文件????????5553??2003-09-11?10:39??DPS2812M_common\source\DSP281x_PieVect.c
............此處省略2705個文件信息

評論

共有 條評論