资源简介
使用STM32F103写的VK3224驱动程序
代码片段和文件信息
/**************************************************************************//**
* @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 SPI-VK3224\CMSIS\CM3\core_cm3.c
文件 85714 2011-02-09 14:59 SPI-VK3224\CMSIS\CM3\core_cm3.h
文件 633941 2011-03-10 10:51 SPI-VK3224\CMSIS\CM3\stm32f10x.h
文件 36565 2013-09-09 16:02 SPI-VK3224\CMSIS\CM3\system_stm32f10x.c
文件 2085 2011-03-10 10:51 SPI-VK3224\CMSIS\CM3\system_stm32f10x.h
文件 15503 2011-03-10 10:52 SPI-VK3224\CMSIS\Startup\startup_stm32f10x_hd.s
文件 8982 2011-03-10 10:47 SPI-VK3224\FWLIB\inc\misc.h
文件 6824 2011-03-10 10:47 SPI-VK3224\FWLIB\inc\stm32f10x_exti.h
文件 20175 2011-03-10 10:47 SPI-VK3224\FWLIB\inc\stm32f10x_gpio.h
文件 2086 2011-04-04 19:03 SPI-VK3224\FWLIB\inc\stm32f10x_it.h
文件 30452 2011-03-10 10:47 SPI-VK3224\FWLIB\inc\stm32f10x_rcc.h
文件 17725 2011-03-10 10:47 SPI-VK3224\FWLIB\inc\stm32f10x_spi.h
文件 16651 2013-08-28 15:37 SPI-VK3224\FWLIB\inc\stm32f10x_usart.h
文件 7046 2011-03-10 10:47 SPI-VK3224\FWLIB\src\misc.c
文件 6956 2013-09-09 10:19 SPI-VK3224\FWLIB\src\stm32f10x_exti.c
文件 23221 2011-03-11 17:43 SPI-VK3224\FWLIB\src\stm32f10x_gpio.c
文件 5463 2013-09-09 15:33 SPI-VK3224\FWLIB\src\stm32f10x_it.c
文件 51271 2011-03-10 10:47 SPI-VK3224\FWLIB\src\stm32f10x_rcc.c
文件 30229 2013-09-09 16:05 SPI-VK3224\FWLIB\src\stm32f10x_spi.c
文件 38663 2013-09-09 16:06 SPI-VK3224\FWLIB\src\stm32f10x_usart.c
文件 63762 2013-09-09 17:20 SPI-VK3224\LIST\SPI-FLASH.map
文件 51999 2013-05-31 08:48 SPI-VK3224\LIST\startup_stm32f10x_hd.lst
文件 3548 2013-08-28 15:37 SPI-VK3224\OUTPUT\core_cm3.crf
文件 114 2013-08-28 15:37 SPI-VK3224\OUTPUT\core_cm3.d
文件 10360 2013-08-28 15:37 SPI-VK3224\OUTPUT\core_cm3.o
文件 383 2013-08-28 15:37 SPI-VK3224\OUTPUT\core_cm3.__i
文件 250487 2013-05-31 14:36 SPI-VK3224\OUTPUT\flash.crf
文件 554 2013-05-31 14:36 SPI-VK3224\OUTPUT\flash.d
文件 264076 2013-05-31 14:36 SPI-VK3224\OUTPUT\flash.o
文件 358 2013-05-31 14:36 SPI-VK3224\OUTPUT\flash.__i
............此处省略73个文件信息
- 上一篇:stellaris_icdi_nd
- 下一篇:交流伺服电机PID速度智能控制
评论
共有 条评论