• 大小: 15.8MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-06-14
  • 语言: 其他
  • 标签:

资源简介

电子-MINI板STM32贪吃蛇.rar,单片机/嵌入式STM32-F0/F1/F2

资源截图

代码片段和文件信息

/**************************************************************************//**
 * @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

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

     文件      17273  2010-06-07 10:25  7-贪吃蛇-按键版\CORE\core_cm3.c

     文件      85714  2011-02-09 14:59  7-贪吃蛇-按键版\CORE\core_cm3.h

     文件      15503  2011-03-10 10:52  7-贪吃蛇-按键版\CORE\startup_stm32f10x_hd.s

     文件      12765  2011-03-10 10:52  7-贪吃蛇-按键版\CORE\startup_stm32f10x_md.s

     文件       3248  2014-01-15 00:31  7-贪吃蛇-按键版\FATFS\doc\css_e.css

     文件       3661  2014-01-15 00:31  7-贪吃蛇-按键版\FATFS\doc\css_j.css

     文件       1063  2013-09-18 21:47  7-贪吃蛇-按键版\FATFS\doc\img\app1.c

     文件       1597  2013-10-18 21:41  7-贪吃蛇-按键版\FATFS\doc\img\app2.c

     文件       3811  2014-01-13 20:56  7-贪吃蛇-按键版\FATFS\doc\img\app3.c

     文件      10365  2014-01-07 15:10  7-贪吃蛇-按键版\FATFS\doc\img\app4.c

     文件       1414  2011-09-02 22:10  7-贪吃蛇-按键版\FATFS\doc\img\f1.png

     文件       1458  2007-02-10 03:12  7-贪吃蛇-按键版\FATFS\doc\img\f2.png

     文件       1039  2007-02-10 03:12  7-贪吃蛇-按键版\FATFS\doc\img\f3.png

     文件       2335  2008-01-05 20:27  7-贪吃蛇-按键版\FATFS\doc\img\f4.png

     文件       2479  2008-01-05 20:27  7-贪吃蛇-按键版\FATFS\doc\img\f5.png

     文件       1436  2010-08-21 10:13  7-贪吃蛇-按键版\FATFS\doc\img\f6.png

     文件      11388  2013-05-12 12:31  7-贪吃蛇-按键版\FATFS\doc\img\f7.png

     文件      11421  2014-02-19 22:38  7-贪吃蛇-按键版\FATFS\doc\img\funcs.png

     文件       2401  2009-03-20 21:57  7-贪吃蛇-按键版\FATFS\doc\img\layers.png

     文件       2379  2009-06-13 21:48  7-贪吃蛇-按键版\FATFS\doc\img\layers3.png

     文件       7932  2013-12-27 12:20  7-贪吃蛇-按键版\FATFS\doc\img\modules.png

     文件      19068  2008-10-18 19:31  7-贪吃蛇-按键版\FATFS\doc\img\rwtest.png

     文件       8153  2010-09-13 10:55  7-贪吃蛇-按键版\FATFS\doc\img\rwtest2.png

     文件       3011  2009-06-15 00:03  7-贪吃蛇-按键版\FATFS\doc\img\rwtest3.png

     文件       5352  2014-01-15 00:31  7-贪吃蛇-按键版\FATFS\doc\updates.txt

     文件       3644  2014-03-14 12:22  7-贪吃蛇-按键版\FATFS\exfuns\exfuns.c

     文件       1409  2014-03-14 12:22  7-贪吃蛇-按键版\FATFS\exfuns\exfuns.h

     文件       7655  2016-07-26 16:22  7-贪吃蛇-按键版\FATFS\exfuns\fattester.c

     文件       1219  2014-03-14 12:51  7-贪吃蛇-按键版\FATFS\exfuns\fattester.h

     文件       8279  2014-01-15 00:31  7-贪吃蛇-按键版\FATFS\src\00readme.txt

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

评论

共有 条评论