资源简介
该贪吃蛇游戏基于正点原子STM32F103精英版开发,程序清晰,注释非常详细,并且代码风格优美,适合学习借鉴
代码片段和文件信息
/**************************************************************************//**
* @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 贪吃蛇游戏F1\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 贪吃蛇游戏F1\CORE\core_cm3.h
文件 15503 2011-03-10 10:52 贪吃蛇游戏F1\CORE\startup_stm32f10x_hd.s
文件 15771 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\croutine.c
文件 26251 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\event_groups.c
文件 29133 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\croutine.h
文件 10168 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\deprecated_definitions.h
文件 32882 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\event_groups.h
文件 34633 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\FreeRTOS.h
文件 12655 2016-11-24 20:20 贪吃蛇游戏F1\FreeRTOS\include\FreeRTOSConfig.h
文件 21169 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\list.h
文件 12288 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\mpu_prototypes.h
文件 10234 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\mpu_wrappers.h
文件 8684 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\portable.h
文件 8184 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\projdefs.h
文件 67336 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\queue.h
文件 50406 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\semphr.h
文件 8550 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\StackMacros.h
文件 850 2014-01-13 18:23 贪吃蛇游戏F1\FreeRTOS\include\stdint.readme
文件 95351 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\task.h
文件 62241 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\include\timers.h
文件 10993 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\list.c
文件 20 2013-09-17 16:17 贪吃蛇游戏F1\FreeRTOS\portable\Keil\See-also-the-RVDS-directory.txt
文件 7604 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\portable\MemMang\heap_1.c
文件 12644 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\portable\MemMang\heap_2.c
文件 5510 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\portable\MemMang\heap_3.c
文件 16957 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\portable\MemMang\heap_4.c
文件 18801 2016-05-21 00:23 贪吃蛇游戏F1\FreeRTOS\portable\MemMang\heap_5.c
文件 124 2016-02-11 23:51 贪吃蛇游戏F1\FreeRTOS\portable\MemMang\ReadMe.url
文件 866 2016-02-11 23:54 贪吃蛇游戏F1\FreeRTOS\portable\readme.txt
............此处省略221个文件信息
- 上一篇:三菱运动CPU机床语言SV43编程手册
- 下一篇:激光雷达测量气溶胶消光系数
相关资源
- STM32F407的FSMC工程模板,STM32F407的FSM
- STM32F103C8T6库函数工程
- DS18B20测温
- STM32汉字显示实验例程
- BH1750光强传感器的STM32程序
- 基于stm32f407的ads1118
- STM32 ADC多通道采集
- STM32 PWM控制蜂鸣器实验
- STM32F103输入捕获实验 改占空比
- 基于STM32的LCD1602显示
- ADF4351 stm32f10x 控制代码
- 心率 血氧 STM32
- 改写的stm32嵌入式停车场赛题程序
- STM32F407二维码条形码识别
- stm32AT指令程序
- AD8232基于stm32的无线蓝牙传输心电图检
- STM32红外测温MLX90614.rar
- 程控衰减器PE4302 可实现0-31.5任意步进
- MS8607驱动程序
- STM32单片机计步器程序
- STM32f103超声波
- stm32 lcd触摸屏显示页面切换程序
- stm32 lcd 显示页面切换程序
- 基于STM32的直流电机PID调速系统设计
- 基于STM32和树莓派的四足人形机器人系
- stm32f030c8t6 ADC_DMA采集电压
- stm32f103串口空闲中断收发
- stm32+Modbus从机读取
- 串口屏动态实时显示时间
- 三相逆变器
评论
共有 条评论