F2837xD_GlobalVariableDefs.zip

  • Hasan8
    了解作者
  • Visual C++
    开发工具
  • 3KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 1
    下载次数
  • 2019-03-21 20:35
    上传日期
avr code for successful power factor correction using induction motor
F2837xD_GlobalVariableDefs.zip
  • F2837xD_GlobalVariableDefs.c
    22.7KB
内容介绍
//########################################################################### // // FILE: F2837xD_GlobalVariableDefs.c // // TITLE: F2837xD Global Variables and Data Section Pragmas. // //########################################################################### // $TI Release: F2837xD Support Library v3.05.00.00 $ // $Release Date: Thu Oct 18 15:48:42 CDT 2018 $ // $Copyright: // Copyright (C) 2013-2018 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. // $ //########################################################################### #include "F2837xD_device.h" // F2837xD Headerfile Include File //--------------------------------------------------------------------------- // Define Global Peripheral Variables: // //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("AdcaRegsFile") #else #pragma DATA_SECTION(AdcaRegs,"AdcaRegsFile"); #endif volatile struct ADC_REGS AdcaRegs; #ifdef __cplusplus #pragma DATA_SECTION("AdcbRegsFile") #else #pragma DATA_SECTION(AdcbRegs,"AdcbRegsFile"); #endif volatile struct ADC_REGS AdcbRegs; #ifdef __cplusplus #pragma DATA_SECTION("AdccRegsFile") #else #pragma DATA_SECTION(AdccRegs,"AdccRegsFile"); #endif volatile struct ADC_REGS AdccRegs; #ifdef __cplusplus #pragma DATA_SECTION("AdcdRegsFile") #else #pragma DATA_SECTION(AdcdRegs,"AdcdRegsFile"); #endif volatile struct ADC_REGS AdcdRegs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("AdcaResultFile") #else #pragma DATA_SECTION(AdcaResultRegs,"AdcaResultFile"); #endif volatile struct ADC_RESULT_REGS AdcaResultRegs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("AdcbResultFile") #else #pragma DATA_SECTION(AdcbResultRegs,"AdcbResultFile"); #endif volatile struct ADC_RESULT_REGS AdcbResultRegs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("AdccResultFile") #else #pragma DATA_SECTION(AdccResultRegs,"AdccResultFile"); #endif volatile struct ADC_RESULT_REGS AdccResultRegs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("AdcdResultFile") #else #pragma DATA_SECTION(AdcdResultRegs,"AdcdResultFile"); #endif volatile struct ADC_RESULT_REGS AdcdResultRegs; //---------------------------------------- #ifdef CPU1 #ifdef __cplusplus #pragma DATA_SECTION("AnalogSubsysRegsFile") #else #pragma DATA_SECTION(AnalogSubsysRegs,"AnalogSubsysRegsFile"); #endif volatile struct ANALOG_SUBSYS_REGS AnalogSubsysRegs; #endif #if __TI_COMPILER_VERSION__ >= 16006000 //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("CanaRegsFile") #else #pragma DATA_SECTION(CanaRegs,"CanaRegsFile"); #endif volatile struct CAN_REGS CanaRegs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("CanbRegsFile") #else #pragma DATA_SECTION(CanbRegs,"CanbRegsFile"); #endif volatile struct CAN_REGS CanbRegs; #endif //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("Cmpss1RegsFile") #else #pragma DATA_SECTION(Cmpss1Regs,"Cmpss1RegsFile"); #endif volatile struct CMPSS_REGS Cmpss1Regs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("Cmpss2RegsFile") #else #pragma DATA_SECTION(Cmpss2Regs,"Cmpss2RegsFile"); #endif volatile struct CMPSS_REGS Cmpss2Regs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("Cmpss3RegsFile") #else #pragma DATA_SECTION(Cmpss3Regs,"Cmpss3RegsFile"); #endif volatile struct CMPSS_REGS Cmpss3Regs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("Cmpss4RegsFile") #else #pragma DATA_SECTION(Cmpss4Regs,"Cmpss4RegsFile"); #endif volatile struct CMPSS_REGS Cmpss4Regs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("Cmpss5RegsFile") #else #pragma DATA_SECTION(Cmpss5Regs,"Cmpss5RegsFile"); #endif volatile struct CMPSS_REGS Cmpss5Regs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("Cmpss6RegsFile") #else #pragma DATA_SECTION(Cmpss6Regs,"Cmpss6RegsFile"); #endif volatile struct CMPSS_REGS Cmpss6Regs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("Cmpss7RegsFile") #else #pragma DATA_SECTION(Cmpss7Regs,"Cmpss7RegsFile"); #endif volatile struct CMPSS_REGS Cmpss7Regs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("Cmpss8RegsFile") #else #pragma DATA_SECTION(Cmpss8Regs,"Cmpss8RegsFile"); #endif volatile struct CMPSS_REGS Cmpss8Regs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("DacaRegsFile") #else #pragma DATA_SECTION(DacaRegs,"DacaRegsFile"); #endif volatile struct DAC_REGS DacaRegs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("DacbRegsFile") #else #pragma DATA_SECTION(DacbRegs,"DacbRegsFile"); #endif volatile struct DAC_REGS DacbRegs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("DaccRegsFile") #else #pragma DATA_SECTION(DaccRegs,"DaccRegsFile"); #endif volatile struct DAC_REGS DaccRegs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("Cla1RegsFile") #else #pragma DATA_SECTION(Cla1Regs,"Cla1RegsFile"); #endif volatile struct CLA_REGS Cla1Regs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("Cla1SoftIntRegsFile") #else #pragma DATA_SECTION(Cla1SoftIntRegs,"Cla1SoftIntRegsFile"); #endif volatile struct CLA_SOFTINT_REGS Cla1SoftIntRegs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("ClkCfgRegsFile") #else #pragma DATA_SECTION(ClkCfgRegs,"ClkCfgRegsFile"); #endif volatile struct CLK_CFG_REGS ClkCfgRegs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("CpuSysRegsFile") #else #pragma DATA_SECTION(CpuSysRegs,"CpuSysRegsFile"); #endif volatile struct CPU_SYS_REGS CpuSysRegs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("CpuTimer0RegsFile") #else #pragma DATA_SECTION(CpuTimer0Regs,"CpuTimer0RegsFile"); #endif volatile struct CPUTIMER_REGS CpuTimer0Regs; //---------------------------------------- #ifdef __cplusplus #pragma DATA_SECTION("CpuTimer1RegsFile") #else #pragma DATA_SECTION(CpuTimer1Regs,"CpuTimer1RegsFile"); #endif volatile struct CPUTIMER_REGS CpuTimer1Regs;
评论
    相关推荐
    • mtbi-and-concussion-18.rar
      concussion is atype of mtbi
    • ACMSIMC_TUT-hfsi-yoon.zip
      tms320f2812无刷电机控制程序,实现无位置调速
    • 区块链技术指南 .zip
      区块链技术指南 ,区块链技术 ,区块链技术指导
    • 区块链原理详解_附代码.zip
      了解区块链,区块链原理详解,还有代码,详情请自行下载,,,希望能帮助大家
    • 自由之神EA源码.rar
      通向财务自由之路的ea很全面,适合要求不高的朋友,自己可以改
    • 10biansuxing1.zip
      构建了一个包含风速模型、功率转换模型、传动链模型等三个部分的10MW变速直驱型风力发电机组的标么值的Matlab模型.传动链模型是基于二质量块——轴数学模型所构建的动态模型.通过标么值的转换及灵活的参数调整,该模型能较准确地模拟各种变速直驱型风力发电机组.仿真分析获取了最大功率跟踪特性曲线,并得到了风力发电机组的四个工作区.结果还能表明,电负荷电磁阻力矩能动态地调整电机转子转速,从而在低速风时能实现风能最大功率的追踪.同时,风涡轮的桨距角能控制高速风的利用率,使风涡轮机工作在额定功率下,有效地防止整个风力发电系统的机械和电负荷容量的过载冲击.作为原动力模型,该模型有助于进一步研究变速直驱风力发电系统的功率特性和并网发电控制技术.
    • Dynamic_partitioning_of_the_simulated_distribution
      ⑴ 用C语言分别实现采用首次适应算法和最佳适应算法的动态分区分配过程alloc()和回收过程free()。其中,空闲分区通过空闲分区链来管理;在进行内存分配时,系统优先使用空闲区低端的空间。 ⑵ 假设初始状态下,可用的内存空间为640KB,并有下列的请求序列:  作业1申请130KB。  作业2申请60KB。  作业3申请100KB。  作业2释放60KB。  作业4申请200KB。  作业3释放100KB。  作业1释放130KB。  作业5申请140KB。  作业6申请60KB。  作业7申请50KB。  作业6释放60KB。 分别采用首次适应算法和最佳适应算法进行内存块的分配和回收,要求每次分配和回收后显示出空闲内存分区链的情况。
    • 从零开始创建区块链(JAVA版).rar
      Java 实现区块链,通过一个详细的例子,一步步说明区块链的概念和java 实现的方法。
    • 论文.zip
      区块链论文集,可以用于研究或者毕业设计参考
    • bitcoinj-master.zip
      区块链比特币的实现代码,基本满足比特币的区块链实现机制以及部署。