基于stm32和FPGA测频测相程序


基于stm32和FPGA测频测相程序,在液晶上显示,自己用的
资源截图
代码片段和文件信息
/**************************************************************************//**
 * @file     core_cm3.c
 * @brief    CMSIS Cortex-M3 Core Peripheral Access layer Source File
 * @version  V1.30
 * @date     30. October 2009
 *
 * @note
 * Copyright (C) 2009 ARM Limited. All rights reserved.
 *
 * @par
 * ARM Limited (ARM) is supplying this software for use with Cortex-M 
 * processor based microcontrollers.  This file can be freely distributed 
 * within development tools that are supporting such ARM based processors. 
 *
 * @par
 * THIS SOFTWARE IS PROVIDED “AS IS“.  NO WARRANTIES WHETHER EXPRESS IMPLIED
 * OR STATUTORY INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
 * ARM SHALL NOT IN ANY CIRCUMSTANCES BE LIABLE FOR SPECIAL INCIDENTAL OR
 * CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER.
 *
 ******************************************************************************/

#include 

/* define compiler specific symbols */
#if defined ( __CC_ARM   )
  #define __ASM            __asm                                      /*!< asm keyword for ARM Compiler          */
  #define __INLINE         __inline                                   /*!< inline keyword for ARM Compiler       */

#elif defined ( __ICCARM__ )
  #define __ASM           __asm                                       /*!< asm keyword for IAR Compiler          */
  #define __INLINE        inline                                      /*!< inline keyword for IAR Compiler. Only avaiable in High optimization mode! */

#elif defined   (  __GNUC__  )
  #define __ASM            __asm                                      /*!< asm keyword for GNU Compiler          */
  #define __INLINE         inline                                     /*!< inline keyword for GNU Compiler       */

#elif defined   (  __TASKING__  )
  #define __ASM            __asm                                      /*!< asm keyword for TASKING Compiler      */
  #define __INLINE         inline                                     /*!< inline keyword for TASKING Compiler   */

#endif


/* ###################  Compiler specific Intrinsics  ########################### */

#if defined ( __CC_ARM   ) /*------------------RealView Compiler -----------------*/
/* ARM armcc specific functions */

/**
 * @brief  Return the Process Stack Pointer
 *
 * @return ProcessStackPointer
 *
 * Return the actual process stack pointer
 */
__ASM uint32_t __get_PSP(void)
{
  mrs r0 psp
  bx lr
}

/**
 * @brief  Set the Process Stack Pointer
 *
 * @param  topOfProcStack  Process Stack Pointer
 *
 * Assign the value ProcessStackPointer to the MSP 
 * (process stack pointer) Cortex processor register
 */
__ASM void __set_PSP(uint32_t topOfProcStack)
{
  msr psp r0
  bx lr
}

/**
 * @brief  Return the Main Stack Pointer
 *
 * @return Main Stack Pointer
 *
 * Return the curren

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       7278  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.asm.rpt

     文件         26  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.done

     文件        239  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.dpf

     文件     104755  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.fit.rpt

     文件        513  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.fit.smsg

     文件        597  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.fit.summary

     文件       7849  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.flow.rpt

     文件      24188  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.map.rpt

     文件        459  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.map.summary

     文件      20316  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.pin

     文件     524474  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.pof

     文件       1267  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.qpf

     文件       5507  2012-11-07 21:44  网络导纳(董)FPGACOUNTER.qsf

     文件        536  2012-11-07 21:44  网络导纳(董)FPGACOUNTER.qws

     文件      23569  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.sim.rpt

     文件     151050  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.sof

     文件      76086  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.tan.rpt

     文件       1526  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.tan.summary

     文件        444  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.vhd

     文件        432  2012-11-07 18:42  网络导纳(董)FPGACOUNTER.vhd.bak

     文件          0  2012-11-07 18:42  网络导纳(董)FPGACOUNTER_description.txt

     文件       1516  2012-11-07 18:42  网络导纳(董)FPGAdbCOUNTER.(0).cnf.cdb

     文件       1108  2012-11-07 18:42  网络导纳(董)FPGAdbCOUNTER.(0).cnf.hdb

     文件        594  2012-11-07 18:42  网络导纳(董)FPGAdbCOUNTER.(1).cnf.cdb

     文件        615  2012-11-07 18:42  网络导纳(董)FPGAdbCOUNTER.(1).cnf.hdb

     文件       2012  2012-11-07 18:42  网络导纳(董)FPGAdbCOUNTER.(2).cnf.cdb

     文件       1723  2012-11-07 18:42  网络导纳(董)FPGAdbCOUNTER.(2).cnf.hdb

     文件        532  2012-11-07 18:42  网络导纳(董)FPGAdbCOUNTER.(3).cnf.cdb

     文件        577  2012-11-07 18:42  网络导纳(董)FPGAdbCOUNTER.(3).cnf.hdb

     文件       2194  2012-11-07 18:42  网络导纳(董)FPGAdbCOUNTER.asm.qmsg

............此处省略316个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)