资源简介
protues仿真stm32f10c6实例,内含STM32F10x_StdPeriph_Lib_V3.5.0库及API说明文档,本资源为自己学习存档用。你们花分下载,非常乐意
代码片段和文件信息
/**************************************************************************//**
* @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
相关资源
- LL库使用手册 stm32L4xx 手册
- 嵌入式实时操作系统uC/OS III
- 中信银行支付文档和demo,包括微信和
- SPI-USB-myImu-STM32F103TB.rar
- 基于protues仿真的声控电子锁设计含
- 12、LabVIEW实验例程(STM32 USB)
- NRF24L01(2.4G射频)可用例程
- DfuSe_Demo_V3.0.6_Setup.rar
- ReportMachine3.0及完整学习的DEMOS
- Keil.STM32F1xx_DFP.2.3.0 支持包.rar
- STM32F103C8T6+SPWM三相六路互补输出+死区
- 国密SSL浏览器访问国密SSL规范Tomcat服
- Stm32CubeMX中文说明书
- Keil.STM32F1xx_DFP.2.3.0安装包和说明书.
- 零死角玩转STM32—F103霸道.pdf
- stm32f4xx+freeRTOS+LWIP移植
- STM32F4可调电子时钟系统课程设计
- 手机蓝牙串口的调试助手demo实现
- STM32数字示波器源码+数字信号处理教
- stm32f4中用SD卡存储DCMI的图像
- stm32—f103
- 贪吃蛇.zip
- STM32自学笔记。蒙博宇
- STM32 OV2640 ESP8266图像传输
- stm32f407开发板实现485串口modbus协议通
- opus编解码移植stm32f407
- stm32f103c8t6移植RT-Thread 之建立工程
- STM32F4开发指南-库函数版本_V1.1
- STM32_HAL+串口+DMA发送和不定长度数据接
- STM32F103 UC/OS-II关于任务操作的系列C程
评论
共有 条评论