资源简介
lpc17xx官方驱动,需要的同学可以此为基础进行扩展吆。
代码片段和文件信息
/**************************************************************************//**
* @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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 16982 2010-06-25 08:05 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\.cproject
....... 2342 2010-06-25 08:00 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\.project
....... 627 2010-06-25 08:05 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\.settings\org.eclipse.cdt.core.prefs
....... 17273 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\CoreSupport\core_cm3.c
....... 84936 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\CoreSupport\core_cm3.h
....... 36247 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\DeviceSupport\NXP\LPC17xx\LPC17xx.h
....... 10687 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\DeviceSupport\NXP\LPC17xx\startup\arm\startup_LPC17xx.s
....... 8748 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\DeviceSupport\NXP\LPC17xx\startup\gcc\startup_LPC17xx.s
....... 10110 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\DeviceSupport\NXP\LPC17xx\startup\iar\startup_LPC17xx.s
....... 23591 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\DeviceSupport\NXP\LPC17xx\system_LPC17xx.c
....... 1808 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\DeviceSupport\NXP\LPC17xx\system_LPC17xx.h
....... 678 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\arm\LPC17xx\Abstract.txt
....... 6384 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\arm\LPC17xx\CMSIS_Example_LPC17xx.Opt
....... 5224 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\arm\LPC17xx\CMSIS_Example_LPC17xx.Uv2
....... 3458 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\arm\LPC17xx\main_LPC17xx.c
....... 10687 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\arm\LPC17xx\startup_LPC17xx.s
....... 23197 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\arm\LPC17xx\system_LPC17xx.c
....... 662 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\iar\LPC17xx\Abstract.txt
....... 19025 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\iar\LPC17xx\CMSIS_Example_LPC17xx.ewd
....... 22143 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\iar\LPC17xx\CMSIS_Example_LPC17xx.ewp
....... 175 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\iar\LPC17xx\CMSIS_Example_LPC17xx.eww
....... 3458 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\iar\LPC17xx\main_LPC17xx.c
....... 2601 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\iar\LPC17xx\settings\CMSIS_Example_LPC17xx.cspy.bat
....... 4071 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\iar\LPC17xx\settings\CMSIS_Example_LPC17xx.dbgdt
....... 1606 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\iar\LPC17xx\settings\CMSIS_Example_LPC17xx.dni
....... 2706 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\iar\LPC17xx\settings\CMSIS_Example_LPC17xx.wsdt
....... 248 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\iar\LPC17xx\settings\CMSIS_Example_LPC17xx_Debug.jli
....... 248 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\iar\LPC17xx\settings\CMSIS_Example_LPC17xx_MCB1700.jli
....... 10110 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\iar\LPC17xx\startup_LPC17xx.s
....... 23197 2010-06-25 07:52 lpc17xx.cmsis.driver.library\lpc17xx.cmsis.driver.library\Core\CM3\Example\iar\LPC17xx\system_LPC17xx.c
............此处省略1450个文件信息
- 上一篇:STM32F401移植uCosIII
- 下一篇:现代谱估计:原理与应用中译本
相关资源
-
Webex recorder and pla
yer 解决闪退版本 - lpc1768 串口uart包括DMA等各种程序
- 变速齿轮 支持winXP win7 win8 win10 64位系
- NXP LIN plugin
- NXP_MC33908电源管理芯片英文数据手册及
- NXP公司NTAG213,Mifare UltraLight 7字节U
- winxp自带的原版隶书字体
- LPC1768 LwIP UDP Client 发送数据+测试网
- SD卡读写程序
- LPC1768技术手册
- NXP LPC1768开发板之用户手册
- NXP LPC1768 Rtthread/裸机+lwip WEB服务器
- NxpRdLib_PublicRelease
- 双电机MOS驱动工程双面板+四层板智能
- lpc175x_6x_cmsis_driver_library+lpc1768中文手
- lpc1768例程
- LPC1768库函数实验(lpcopen2.1版本))
- LPC1768/69/xx 中文应用手册和编程指导
- 路虎LPC1768 开发板光盘资料-文档资料
- 全桥MOS驱动,双电机驱动
- S32K1xx MCU Family Reference Manual
- LPC1768中文手册完整版
- 旺宝 宝马LPC1768摄像头ov7670采集图像,
- winxp虚拟机vmware
- WinXP Media Center 2005更新汇总包
- NXP用于adas平台的S32 pdf
- 使用RAPI上传文件到WinCE设备
- LPC1768全部程序例程
- 智能车直立摄像头组华东赛区一等奖
- 恩智浦智能车原件库封装库大部分3
评论
共有 条评论