DSP2833x_GlobalVariableDefs.c

来源:转载

// TI File $Revision: /main/4 $// Checkin $Date: June 2, 2008   11:12:33 $//###########################################################################//// FILE:       DSP2833x_GlobalVariableDefs.c//// TITLE:       DSP2833x Global Variables and Data Section Pragmas.////###########################################################################// $TI Release: 2833x/2823x Header Files V1.32 $// $Release Date: June 28, 2010 $//###########################################################################
#include "DSP2833x_Device.h"     // DSP2833x Headerfile Include File
//---------------------------------------------------------------------------// Define Global Peripheral Variables:////----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("AdcRegsFile")#else#pragma DATA_SECTION(AdcRegs,"AdcRegsFile");#endifvolatile struct ADC_REGS AdcRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("AdcMirrorFile")#else#pragma DATA_SECTION(AdcMirror,"AdcMirrorFile");#endifvolatile struct ADC_RESULT_MIRROR_REGS AdcMirror;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("CpuTimer0RegsFile")#else#pragma DATA_SECTION(CpuTimer0Regs,"CpuTimer0RegsFile");#endifvolatile struct CPUTIMER_REGS CpuTimer0Regs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("CpuTimer1RegsFile")#else#pragma DATA_SECTION(CpuTimer1Regs,"CpuTimer1RegsFile");#endifvolatile struct CPUTIMER_REGS CpuTimer1Regs;

//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("CpuTimer2RegsFile")#else#pragma DATA_SECTION(CpuTimer2Regs,"CpuTimer2RegsFile");#endifvolatile struct CPUTIMER_REGS CpuTimer2Regs;

//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("CsmPwlFile")#else#pragma DATA_SECTION(CsmPwl,"CsmPwlFile");#endifvolatile struct CSM_PWL CsmPwl;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("CsmRegsFile")#else#pragma DATA_SECTION(CsmRegs,"CsmRegsFile");#endifvolatile struct CSM_REGS CsmRegs;


//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("DevEmuRegsFile")#else#pragma DATA_SECTION(DevEmuRegs,"DevEmuRegsFile");#endifvolatile struct DEV_EMU_REGS DevEmuRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("DmaRegsFile")#else#pragma DATA_SECTION(DmaRegs,"DmaRegsFile");#endifvolatile struct DMA_REGS DmaRegs;

//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECanaRegsFile")#else#pragma DATA_SECTION(ECanaRegs,"ECanaRegsFile");#endifvolatile struct ECAN_REGS ECanaRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECanaMboxesFile")#else#pragma DATA_SECTION(ECanaMboxes,"ECanaMboxesFile");#endifvolatile struct ECAN_MBOXES ECanaMboxes;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECanaLAMRegsFile")#else#pragma DATA_SECTION(ECanaLAMRegs,"ECanaLAMRegsFile");#endifvolatile struct LAM_REGS ECanaLAMRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECanaMOTSRegsFile")#else#pragma DATA_SECTION(ECanaMOTSRegs,"ECanaMOTSRegsFile");#endifvolatile struct MOTS_REGS ECanaMOTSRegs;

//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECanaMOTORegsFile")#else#pragma DATA_SECTION(ECanaMOTORegs,"ECanaMOTORegsFile");#endifvolatile struct MOTO_REGS ECanaMOTORegs;

//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECanbRegsFile")#else#pragma DATA_SECTION(ECanbRegs,"ECanbRegsFile");#endifvolatile struct ECAN_REGS ECanbRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECanbMboxesFile")#else#pragma DATA_SECTION(ECanbMboxes,"ECanbMboxesFile");#endifvolatile struct ECAN_MBOXES ECanbMboxes;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECanbLAMRegsFile")#else#pragma DATA_SECTION(ECanbLAMRegs,"ECanbLAMRegsFile");#endifvolatile struct LAM_REGS ECanbLAMRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECanbMOTSRegsFile")#else#pragma DATA_SECTION(ECanbMOTSRegs,"ECanbMOTSRegsFile");#endifvolatile struct MOTS_REGS ECanbMOTSRegs;

//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECanbMOTORegsFile")#else#pragma DATA_SECTION(ECanbMOTORegs,"ECanbMOTORegsFile");#endifvolatile struct MOTO_REGS ECanbMOTORegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("EPwm1RegsFile")#else#pragma DATA_SECTION(EPwm1Regs,"EPwm1RegsFile");#endifvolatile struct EPWM_REGS EPwm1Regs;

//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("EPwm2RegsFile")#else#pragma DATA_SECTION(EPwm2Regs,"EPwm2RegsFile");#endifvolatile struct EPWM_REGS EPwm2Regs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("EPwm3RegsFile")#else#pragma DATA_SECTION(EPwm3Regs,"EPwm3RegsFile");#endifvolatile struct EPWM_REGS EPwm3Regs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("EPwm4RegsFile")#else#pragma DATA_SECTION(EPwm4Regs,"EPwm4RegsFile");#endifvolatile struct EPWM_REGS EPwm4Regs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("EPwm5RegsFile")#else#pragma DATA_SECTION(EPwm5Regs,"EPwm5RegsFile");#endifvolatile struct EPWM_REGS EPwm5Regs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("EPwm6RegsFile")#else#pragma DATA_SECTION(EPwm6Regs,"EPwm6RegsFile");#endifvolatile struct EPWM_REGS EPwm6Regs;

//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECap1RegsFile")#else#pragma DATA_SECTION(ECap1Regs,"ECap1RegsFile");#endifvolatile struct ECAP_REGS ECap1Regs;

//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECap2RegsFile")#else#pragma DATA_SECTION(ECap2Regs,"ECap2RegsFile");#endifvolatile struct ECAP_REGS ECap2Regs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECap3RegsFile")#else#pragma DATA_SECTION(ECap3Regs,"ECap3RegsFile");#endifvolatile struct ECAP_REGS ECap3Regs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECap4RegsFile")#else#pragma DATA_SECTION(ECap4Regs,"ECap4RegsFile");#endifvolatile struct ECAP_REGS ECap4Regs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECap5RegsFile")#else#pragma DATA_SECTION(ECap5Regs,"ECap5RegsFile");#endifvolatile struct ECAP_REGS ECap5Regs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ECap6RegsFile")#else#pragma DATA_SECTION(ECap6Regs,"ECap6RegsFile");#endifvolatile struct ECAP_REGS ECap6Regs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("EQep1RegsFile")#else#pragma DATA_SECTION(EQep1Regs,"EQep1RegsFile");#endifvolatile struct EQEP_REGS EQep1Regs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("EQep2RegsFile")#else#pragma DATA_SECTION(EQep2Regs,"EQep2RegsFile");#endifvolatile struct EQEP_REGS EQep2Regs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("GpioCtrlRegsFile")#else#pragma DATA_SECTION(GpioCtrlRegs,"GpioCtrlRegsFile");#endifvolatile struct GPIO_CTRL_REGS GpioCtrlRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("GpioDataRegsFile")#else#pragma DATA_SECTION(GpioDataRegs,"GpioDataRegsFile");#endifvolatile struct GPIO_DATA_REGS GpioDataRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("GpioIntRegsFile")#else#pragma DATA_SECTION(GpioIntRegs,"GpioIntRegsFile");#endifvolatile struct GPIO_INT_REGS GpioIntRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("I2caRegsFile")#else#pragma DATA_SECTION(I2caRegs,"I2caRegsFile");#endifvolatile struct I2C_REGS I2caRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("McbspaRegsFile")#else#pragma DATA_SECTION(McbspaRegs,"McbspaRegsFile");#endifvolatile struct MCBSP_REGS McbspaRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("McbspbRegsFile")#else#pragma DATA_SECTION(McbspbRegs,"McbspbRegsFile");#endifvolatile struct MCBSP_REGS McbspbRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("PartIdRegsFile")#else#pragma DATA_SECTION(PartIdRegs,"PartIdRegsFile");#endifvolatile struct PARTID_REGS PartIdRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("PieCtrlRegsFile")#else#pragma DATA_SECTION(PieCtrlRegs,"PieCtrlRegsFile");#endifvolatile struct PIE_CTRL_REGS PieCtrlRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("PieVectTableFile")#else#pragma DATA_SECTION(PieVectTable,"PieVectTableFile");#endifstruct PIE_VECT_TABLE PieVectTable;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("SciaRegsFile")#else#pragma DATA_SECTION(SciaRegs,"SciaRegsFile");#endifvolatile struct SCI_REGS SciaRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ScibRegsFile")#else#pragma DATA_SECTION(ScibRegs,"ScibRegsFile");#endifvolatile struct SCI_REGS ScibRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("ScicRegsFile")#else#pragma DATA_SECTION(ScicRegs,"ScicRegsFile");#endifvolatile struct SCI_REGS ScicRegs;

//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("SpiaRegsFile")#else#pragma DATA_SECTION(SpiaRegs,"SpiaRegsFile");#endifvolatile struct SPI_REGS SpiaRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("SysCtrlRegsFile")#else#pragma DATA_SECTION(SysCtrlRegs,"SysCtrlRegsFile");#endifvolatile struct SYS_CTRL_REGS SysCtrlRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("FlashRegsFile")#else#pragma DATA_SECTION(FlashRegs,"FlashRegsFile");#endifvolatile struct FLASH_REGS FlashRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("XIntruptRegsFile")#else#pragma DATA_SECTION(XIntruptRegs,"XIntruptRegsFile");#endifvolatile struct XINTRUPT_REGS XIntruptRegs;
//----------------------------------------#ifdef __cplusplus#pragma DATA_SECTION("XintfRegsFile")#else#pragma DATA_SECTION(XintfRegs,"XintfRegsFile");#endifvolatile struct XINTF_REGS XintfRegs;


//===========================================================================// End of file.//===========================================================================
http://blog.csdn.net/xiaoxiongli/article/details/49619507http://blog.csdn.net/xiaoxiongli/
http://tiyubisai.com/video_news/news_135569.html



分享给朋友:
您可能感兴趣的文章:
随机阅读: