資源簡介
基于STM32觸摸屏的俄羅斯方塊設計 可完成俄羅斯方塊的所有基本功能
代碼片段和文件信息
/**************************************************************************//**
?*?@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
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????93958??2012-12-11?12:10??STM32_俄羅斯方塊\Jli
?????文件????????573??2012-11-29?10:23??STM32_俄羅斯方塊\Jli
?????文件?????146937??2012-11-29?21:20??STM32_俄羅斯方塊\STM32_LCD.plg
?????文件??????69667??2012-12-16?20:34??STM32_俄羅斯方塊\STM32_LCD.uvgui.Administrator
?????文件??????69670??2012-12-14?14:04??STM32_俄羅斯方塊\STM32_LCD.uvgui_Administrator.bak
?????文件??????11789??2012-12-16?20:34??STM32_俄羅斯方塊\STM32_LCD.uvopt
?????文件??????17290??2012-12-02?21:58??STM32_俄羅斯方塊\STM32_LCD.uvproj
?????文件???????9248??2012-12-16?20:33??STM32_俄羅斯方塊\STM32_LCD_STM32_LCD.dep
?????文件?????????76??2012-11-29?10:21??STM32_俄羅斯方塊\STM32_LCD_Target?1.dep
?????文件??????11794??2012-12-14?14:04??STM32_俄羅斯方塊\STM32_LCD_uvopt.bak
?????文件??????17479??2012-12-01?21:39??STM32_俄羅斯方塊\STM32_LCD_uvproj.bak
?????文件??????17273??2010-06-07?10:25??STM32_俄羅斯方塊\CM3\core_cm3.c
?????文件??????85714??2011-02-09?14:59??STM32_俄羅斯方塊\CM3\core_cm3.h
?????文件??????15503??2012-03-08?12:29??STM32_俄羅斯方塊\CM3\startup_stm32f10x_hd.s
?????文件??????12376??2011-03-10?10:52??STM32_俄羅斯方塊\CM3\startup_stm32f10x_ld.s
?????文件??????12765??2011-03-10?10:52??STM32_俄羅斯方塊\CM3\startup_stm32f10x_md.s
?????文件?????634095??2011-07-27?15:12??STM32_俄羅斯方塊\CM3\stm32f10x.h
?????文件??????36557??2011-03-10?10:51??STM32_俄羅斯方塊\CM3\system_stm32f10x.c
?????文件???????2085??2011-03-10?10:51??STM32_俄羅斯方塊\CM3\system_stm32f10x.h
?????文件???????5087??2012-12-06?09:55??STM32_俄羅斯方塊\interrupt\stm32f10x_it.c
?????文件???????3883??2009-11-04?14:05??STM32_俄羅斯方塊\interrupt\stm32f10x_it.h
?????文件???????8893??2010-10-18?20:09??STM32_俄羅斯方塊\lib\inc\misc.h
?????文件??????21601??2010-10-18?20:09??STM32_俄羅斯方塊\lib\inc\stm32f10x_adc.h
?????文件???????7466??2010-10-18?20:09??STM32_俄羅斯方塊\lib\inc\stm32f10x_bkp.h
?????文件??????23230??2010-10-18?20:09??STM32_俄羅斯方塊\lib\inc\stm32f10x_can.h
?????文件???????6483??2010-10-18?20:09??STM32_俄羅斯方塊\lib\inc\stm32f10x_cec.h
?????文件???????3233??2010-10-18?22:36??STM32_俄羅斯方塊\lib\inc\stm32f10x_conf.h
?????文件???????2073??2010-10-18?20:09??STM32_俄羅斯方塊\lib\inc\stm32f10x_crc.h
?????文件??????15145??2010-10-18?20:09??STM32_俄羅斯方塊\lib\inc\stm32f10x_dac.h
?????文件???????3729??2010-10-18?20:09??STM32_俄羅斯方塊\lib\inc\stm32f10x_dbgmcu.h
............此處省略111個文件信息
評論
共有 條評論