資源簡介
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??????????????????????????????????????/*!??#define?__INLINE?????????__inline???????????????????????????????????/*!
#elif?defined?(?__ICCARM__?)
??#define?__ASM???????????__asm???????????????????????????????????????/*!??#define?__INLINE????????inline??????????????????????????????????????/*!
#elif?defined???(??__GNUC__??)
??#define?__ASM????????????__asm??????????????????????????????????????/*!??#define?__INLINE?????????inline?????????????????????????????????????/*!
#elif?defined???(??__TASKING__??)
??#define?__ASM????????????__asm??????????????????????????????????????/*!??#define?__INLINE?????????inline?????????????????????????????????????/*!
#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
- 下一篇:現代譜估計:原理與應用中譯本
評論
共有 條評論