资源简介
LCP1768 CAN通讯及AD转换例程
代码片段和文件信息
/**************************************************************************//**
* @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 2009-10-30 10:20 CAN_AD_LCD_corporation\CMSIS\core_cm3.c
文件 85714 2010-01-26 10:56 CAN_AD_LCD_corporation\CMSIS\core_cm3.h
文件 35825 2012-06-16 10:09 CAN_AD_LCD_corporation\CMSIS\LPC17xx.h
文件 10868 2010-03-30 14:49 CAN_AD_LCD_corporation\CMSIS\startup_LPC17xx.s
文件 23157 2012-07-23 16:59 CAN_AD_LCD_corporation\CMSIS\system_LPC17xx.c
文件 1814 2009-10-13 07:09 CAN_AD_LCD_corporation\CMSIS\system_LPC17xx.h
文件 161 2012-07-24 20:25 CAN_AD_LCD_corporation\DOC\info.txt
文件 46158 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\adc.crf
文件 285 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\adc.d
文件 36808 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\adc.o
文件 48273 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\can.crf
文件 291 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\can.d
文件 40244 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\can.o
文件 224112 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\CAN_AD.axf
文件 464530 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\CAN_AD.hex
文件 50753 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\CAN_AD.htm
文件 345 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\CAN_AD.lnp
文件 67569 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\CAN_AD.map
文件 3354 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\CAN_AD.plg
文件 479 2012-07-24 20:29 CAN_AD_LCD_corporation\PROJECT\CAN_AD.sct
文件 1297 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\CAN_AD.tra
....... 62616 2012-07-24 20:44 CAN_AD_LCD_corporation\PROJECT\CAN_AD_LCD.uvopt
....... 16720 2012-07-24 20:30 CAN_AD_LCD_corporation\PROJECT\CAN_AD_LCD.uvproj
文件 4986 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\CAN_AD_LCD_CAN.dep
文件 2709 2012-07-24 20:13 CAN_AD_LCD_corporation\PROJECT\CAN_AD_LCD_LCD.dep
....... 60117 2012-07-24 20:30 CAN_AD_LCD_corporation\PROJECT\CAN_AD_LCD_uvopt.bak
....... 16717 2012-07-24 20:29 CAN_AD_LCD_corporation\PROJECT\CAN_AD_LCD_uvproj.bak
文件 3544 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\core_cm3.crf
文件 90 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\core_cm3.d
文件 9988 2012-07-24 20:43 CAN_AD_LCD_corporation\PROJECT\core_cm3.o
............此处省略50个文件信息
评论
共有 条评论