资源简介
代码包。内有四个代码程序:工程模板;点亮LED灯;串口通信(不定长发送字符),以特定字符结束发送;串口通信(不定长发送字符),DMA方式+空闲中断
代码片段和文件信息
/**************************************************************************//**
* @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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-09-21 15:48 led\
目录 0 2020-09-21 15:48 led\CMSIS\
文件 17273 2020-09-21 15:48 led\CMSIS\core_cm3.c
文件 85714 2020-09-21 15:48 led\CMSIS\core_cm3.h
目录 0 2020-09-21 15:49 led\CMSIS\startup\
目录 0 2020-09-21 15:49 led\CMSIS\startup\arm\
文件 15766 2020-09-21 15:49 led\CMSIS\startup\arm\startup_stm32f10x_cl.s
文件 15503 2020-09-21 15:49 led\CMSIS\startup\arm\startup_stm32f10x_hd.s
文件 15692 2020-09-21 15:49 led\CMSIS\startup\arm\startup_stm32f10x_hd_vl.s
文件 12376 2020-09-21 15:49 led\CMSIS\startup\arm\startup_stm32f10x_ld.s
文件 13656 2020-09-21 15:49 led\CMSIS\startup\arm\startup_stm32f10x_ld_vl.s
文件 12765 2020-09-21 15:49 led\CMSIS\startup\arm\startup_stm32f10x_md.s
文件 14073 2020-09-21 15:49 led\CMSIS\startup\arm\startup_stm32f10x_md_vl.s
文件 15955 2020-09-21 15:49 led\CMSIS\startup\arm\startup_stm32f10x_xl.s
目录 0 2020-09-21 15:49 led\CMSIS\startup\gcc_ride7\
文件 13072 2020-09-21 15:49 led\CMSIS\startup\gcc_ride7\startup_stm32f10x_cl.s
文件 13160 2020-09-21 15:49 led\CMSIS\startup\gcc_ride7\startup_stm32f10x_hd.s
文件 12482 2020-09-21 15:49 led\CMSIS\startup\gcc_ride7\startup_stm32f10x_hd_vl.s
文件 9814 2020-09-21 15:49 led\CMSIS\startup\gcc_ride7\startup_stm32f10x_ld.s
文件 10562 2020-09-21 15:49 led\CMSIS\startup\gcc_ride7\startup_stm32f10x_ld_vl.s
文件 10269 2020-09-21 15:49 led\CMSIS\startup\gcc_ride7\startup_stm32f10x_md.s
文件 11058 2020-09-21 15:49 led\CMSIS\startup\gcc_ride7\startup_stm32f10x_md_vl.s
文件 13261 2020-09-21 15:49 led\CMSIS\startup\gcc_ride7\startup_stm32f10x_xl.s
目录 0 2020-09-21 15:49 led\CMSIS\startup\iar\
文件 16626 2020-09-21 15:49 led\CMSIS\startup\iar\startup_stm32f10x_cl.s
文件 16229 2020-09-21 15:49 led\CMSIS\startup\iar\startup_stm32f10x_hd.s
文件 15675 2020-09-21 15:49 led\CMSIS\startup\iar\startup_stm32f10x_hd_vl.s
文件 12650 2020-09-21 15:49 led\CMSIS\startup\iar\startup_stm32f10x_ld.s
文件 12950 2020-09-21 15:49 led\CMSIS\startup\iar\startup_stm32f10x_ld_vl.s
文件 12912 2020-09-21 15:49 led\CMSIS\startup\iar\startup_stm32f10x_md.s
文件 13601 2020-09-21 15:49 led\CMSIS\startup\iar\startup_stm32f10x_md_vl.s
............此处省略887个文件信息
- 上一篇:北航数值分析大作业 高斯/sor迭代法.zip
- 下一篇:dbshop_a5.zip
相关资源
- STM32 HAL库函数说明手册
- (绝对官方 !绝对官方!可以直接打
- STM32CubeIDE移植华为LiteOS.zip
- STM32Cube_FW_F4_V1.5.0.zip
- STM32F405RGT6中文手册
- STM32F407+ESP8266 阿里云Iot.zip
- 电子-MINI板STM32贪吃蛇.rar
- 基于STM32407 SX1262驱动
- STM32CubeMX通过ESP8266 AT指令MQTT上阿里云
- STM32 简单控制BGT24MTR11
- STM32F4系列固件库手册英文原版
- STM32_FOC代码.rar
- 基于STM32F407FFT音乐五彩频谱显示
- 陶晶池 USART HMI 串口屏与STM32F1通信详
- 绝对官方 !绝对官方!可以直接打板
- STM32分辨标准波形三角波、方波、正弦
- 基于stm32 的LCD1602驱动代码
- 2019电赛准备程序.rar
- STM32F407的wifi及DHT11,MQ2 Keil开发源码
- STM32超声波测距代码-HC-SR04.zip
- 开源云台--STM32代码
- 零死角玩转STM32完整版
- 简易风洞及控制系统stm32控制源码ke
- 基于stm32升降压DC-DC设计原理图+程序
- STM32F103移植FreeModbus同时实现ModbusRTU和
- HAL库 STM32 USART1和USART2 DMA模式透传。
- STM32F103移植的UCOSIIIHAL库
- modbus通用读取电表数据源码,使用的
- STM32F4官方库帮助文档,库函数说明
- STM32示波器源代码 便携式数字示波器
评论
共有 条评论