资源简介
STM32+ATSHA204 SWI程序源码分享

代码片段和文件信息
/******************************************************************************
* @file: core_cm3.c
* @purpose: CMSIS Cortex-M3 Core Peripheral Access layer Source File
* @version: V1.10
* @date: 24. Feb. 2009
*----------------------------------------------------------------------------
*
* Copyright (C) 2009 ARM Limited. All rights reserved.
*
* ARM Limited (ARM) is supplying this software for use with Cortex-Mx
* processor based microcontrollers. This file can be freely distributed
* within development tools that are supporting such ARM based processors.
*
* 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 armcc */
#define __INLINE __inline /*!< inline keyword for armcc */
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for iarcc */
#define __INLINE inline /*!< inline keyword for iarcc. Only avaiable in High optimization mode! */
#define __nop __no_operation /*!< no operation intrinsic in iarcc */
#elif defined ( __GNUC__ )
#define __ASM asm /*!< asm keyword for gcc */
#define __INLINE inline /*!< inline keyword for gcc */
#endif
#if defined ( __CC_ARM ) /*------------------RealView Compiler -----------------*/
/**
* @brief Return the Process Stack Pointer
*
* @param none
* @return uint32_t 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 uint32_t Process Stack Pointer
* @return none
*
* 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
*
* @param none
* @return uint32_t Main Stack Pointer
*
* Return the current value of the MSP (main stack pointer)
* Cortex processor register
*/
__ASM uint32_t __get_MSP(void)
{
mrs r0 msp
bx lr
}
/**
* @brief Set the Main Stack Pointer
*
* @param uint32_t Main Stack Pointer
* @return none
*
* Assign the value mainStackPointer to the MSP
* (main stack pointer) Cortex processor register
*/
__ASM void __set_MSP(uint32_t mainStackP
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-04-30 20:07 SHA204A-SWI-STM32\
目录 0 2016-04-01 05:11 SHA204A-SWI-STM32\SHA204A-SWI\
目录 0 2016-04-01 05:11 SHA204A-SWI-STM32\SHA204A-SWI\.git\
文件 385 2016-04-01 05:00 SHA204A-SWI-STM32\SHA204A-SWI\.gitignore
文件 13 2016-03-30 00:31 SHA204A-SWI-STM32\SHA204A-SWI\.git\COMMIT_EDITMSG
文件 157 2015-08-21 06:44 SHA204A-SWI-STM32\SHA204A-SWI\.git\config
文件 73 2015-08-21 06:44 SHA204A-SWI-STM32\SHA204A-SWI\.git\desc
文件 28 2016-03-19 21:13 SHA204A-SWI-STM32\SHA204A-SWI\.git\HEAD
目录 0 2016-04-01 05:11 SHA204A-SWI-STM32\SHA204A-SWI\.git\hooks\
文件 452 2015-08-21 06:44 SHA204A-SWI-STM32\SHA204A-SWI\.git\hooks\applypatch-msg.sample
文件 896 2015-08-21 06:44 SHA204A-SWI-STM32\SHA204A-SWI\.git\hooks\commit-msg.sample
文件 189 2015-08-21 06:44 SHA204A-SWI-STM32\SHA204A-SWI\.git\hooks\post-update.sample
文件 398 2015-08-21 06:44 SHA204A-SWI-STM32\SHA204A-SWI\.git\hooks\pre-applypatch.sample
文件 1642 2015-08-21 06:44 SHA204A-SWI-STM32\SHA204A-SWI\.git\hooks\pre-commit.sample
文件 1352 2015-08-21 06:44 SHA204A-SWI-STM32\SHA204A-SWI\.git\hooks\pre-push.sample
文件 4951 2015-08-21 06:44 SHA204A-SWI-STM32\SHA204A-SWI\.git\hooks\pre-reba
文件 1239 2015-08-21 06:44 SHA204A-SWI-STM32\SHA204A-SWI\.git\hooks\prepare-commit-msg.sample
文件 3611 2015-08-21 06:44 SHA204A-SWI-STM32\SHA204A-SWI\.git\hooks\update.sample
文件 10846 2016-03-30 00:27 SHA204A-SWI-STM32\SHA204A-SWI\.git\index
目录 0 2016-04-01 05:11 SHA204A-SWI-STM32\SHA204A-SWI\.git\info\
文件 240 2015-08-21 06:44 SHA204A-SWI-STM32\SHA204A-SWI\.git\info\exclude
目录 0 2016-04-01 05:11 SHA204A-SWI-STM32\SHA204A-SWI\.git\logs\
文件 1967 2016-03-30 00:31 SHA204A-SWI-STM32\SHA204A-SWI\.git\logs\HEAD
目录 0 2016-03-19 21:09 SHA204A-SWI-STM32\SHA204A-SWI\.git\logs\refs\
目录 0 2016-04-01 05:11 SHA204A-SWI-STM32\SHA204A-SWI\.git\logs\refs\heads\
文件 1065 2016-02-24 17:51 SHA204A-SWI-STM32\SHA204A-SWI\.git\logs\refs\heads\master
文件 884 2016-03-30 00:31 SHA204A-SWI-STM32\SHA204A-SWI\.git\logs\refs\heads\sha204a-sdk
目录 0 2016-04-01 05:11 SHA204A-SWI-STM32\SHA204A-SWI\.git\ob
目录 0 2016-04-01 05:11 SHA204A-SWI-STM32\SHA204A-SWI\.git\ob
文件 3652 2015-08-21 06:44 SHA204A-SWI-STM32\SHA204A-SWI\.git\ob
文件 205 2016-03-20 00:08 SHA204A-SWI-STM32\SHA204A-SWI\.git\ob
............此处省略629个文件信息
相关资源
- bp神经网络源代码,可直接运行
- 仿知乎界面小程序源代码
- 贪吃蛇源代码.fla
- dotnet 写字板 实验 源代码 不好请要不
- 图像二维小波变换的实现源代码
- 八三编码器设计 VHDL代码 简单,包附
- linux应用层的华容道游戏源代码
- 网上拍卖系统完整源代码
- CSMA/CD等动画演示加源代码
- silicon lab公司的收音IC SI47XX全套开发工
- 合同管理系统的源代码(附数据库)
- 用VC 编写的仿QQ聊天室程序源代码
- STM32F103 串口程序(完整版)
- VPC3_DPV1源代码,Profibus
- PB做的托盘程序(最小化后在左下角显
- 透明加密源码及说明
- 排队机叫号 源代码
- 五子棋C 源代码
- CAD LISP24个源代码
- 二叉树基本操作源代码
- 推箱子及人工智能寻路C 源代码
- opengl轮廓字体源代码
- 冈萨雷斯 数字图像处理 源代码(m文
- 直流伺服电机电路原理图(内附单片
- 哈哈冒险岛登入器源代码
- midi电子琴简单设计(附源代码).ra
- PESQ C源代码
- 画图程序MFC/VC/VC CRectTracker 串行化
- 莱卡 全站仪数据格式转换程序,有源
- HEX到Bin文件源代码
评论
共有 条评论