文件名称:adc_luhao_08_06
介绍说明--下载内容均来自于网络,请自行研究使用
TMS320F2808的AD采样程序,已经调试,可以成功的采样-void main(void)
{
// Step 1. Initialize System Control:
// PLL, WatchDog, enable Peripheral Clocks
// This example function is found in the DSP280x_SysCtrl.c file.
InitSysCtrl()
EALLOW
SysCtrlRegs.HISPCP.all = ADC_MODCLK // HSPCLK = SYSCLKOUT/ADC_MODCLK
EDIS
// Step 2. Initalize GPIO:
// This example function is found in the DSP280x_Gpio.c file and
// illustrates how to set the GPIO to it s default state.
// InitGpio() // Skipped for this example
{
// Step 1. Initialize System Control:
// PLL, WatchDog, enable Peripheral Clocks
// This example function is found in the DSP280x_SysCtrl.c file.
InitSysCtrl()
EALLOW
SysCtrlRegs.HISPCP.all = ADC_MODCLK // HSPCLK = SYSCLKOUT/ADC_MODCLK
EDIS
// Step 2. Initalize GPIO:
// This example function is found in the DSP280x_Gpio.c file and
// illustrates how to set the GPIO to it s default state.
// InitGpio() // Skipped for this example
(系统自动生成,下载前可以参看下载内容)
下载文件列表
adc_luhao_08_06
...............\Debug
...............\.....\DSP280x_Adc.obj
...............\.....\DSP280x_CodeStartBranch.obj
...............\.....\DSP280x_DefaultIsr.obj
...............\.....\DSP280x_GlobalVariableDefs.obj
...............\.....\DSP280x_PieCtrl.obj
...............\.....\DSP280x_PieVect.obj
...............\.....\DSP280x_SysCtrl.obj
...............\.....\DSP280x_usDelay.obj
...............\.....\Example_280xAdcSeq_ovdTest.map
...............\.....\Example_280xAdcSeq_ovdTest.obj
...............\.....\Example_280xAdcSeq_ovdTest.out
...............\Debug.lkf
...............\Example_280xAdcSeq_ovdTest.CS_
...............\..............................\FILE.CDX
...............\..............................\FILE.DBF
...............\..............................\FILE.FPT
...............\..............................\SYMBOL.CDX
...............\..............................\SYMBOL.DBF
...............\..............................\SYMBOL.FPT
...............\Example_280xAdcSeq_ovdTest.c
...............\Example_280xAdcSeq_ovdTest.gel
...............\Example_280xAdcSeq_ovdTest.paf2
...............\Example_280xAdcSeq_ovdTest.pjt
...............\Example_280xAdcSeq_ovdTest.sbl
...............\cc_build_Debug.log
...............\include
...............\.......\2808_Spwm.h
...............\.......\DSP280x_Adc.h
...............\.......\DSP280x_CpuTimers.h
...............\.......\DSP280x_DefaultISR.h
...............\.......\DSP280x_DevEmu.h
...............\.......\DSP280x_Device.h
...............\.......\DSP280x_ECan.h
...............\.......\DSP280x_ECap.h
...............\.......\DSP280x_EPwm.h
...............\.......\DSP280x_EPwm_defines.h
...............\.......\DSP280x_EQep.h
...............\.......\DSP280x_Examples.h
...............\.......\DSP280x_GlobalPrototypes.h
...............\.......\DSP280x_Gpio.h
...............\.......\DSP280x_I2c.h
...............\.......\DSP280x_I2c_defines.h
...............\.......\DSP280x_PieCtrl.h
...............\.......\DSP280x_PieVect.h
...............\.......\DSP280x_SWPrioritizedIsrLevels.h
...............\.......\DSP280x_Sci.h
...............\.......\DSP280x_Spi.h
...............\.......\DSP280x_SysCtrl.h
...............\.......\DSP280x_XIntrupt.h
...............\.......\IQmathLib.h
...............\.......\SFO.h
...............\.......\SFO_V5.h
...............\.......\clarke.h
...............\.......\dmctype.h
...............\.......\ipark.h
...............\.......\park.h