資源簡介
SPIFlash W25Q64 新唐單片機程序
可讀,可寫, 基本的操作
代碼片段和文件信息
/**************************************************************************//**
?*?@file?????core_cm0.c
?*?@brief????CMSIS?Cortex-M0?Core?Peripheral?Access?layer?Source?File
?*?@version??V2.00
?*?@date?????10.?September?2010
?*
?*?@note
?*?Copyright?(C)?2009-2010?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
/*?##########################??Core?Instruction?Access??#########################?*/
#if?defined?(?__CC_ARM???)?/*------------------?RealView?Compiler?----------------*/
/**?\brief??Reverse?byte?order?(16?bit)
????This?function?reverses?the?byte?order?in?two?unsigned?short?values.
????\param?[in]????value??Value?to?reverse
????\return???????????????Reversed?value
?*/
#if?(__ARMCC_VERSION?400677)
__ASM?uint32_t?__REV16(uint32_t?value)
{
??rev16?r0?r0
??bx?lr
}
#endif?/*?__ARMCC_VERSION??*/?
/**?\brief??Reverse?byte?order?in?signed?short?value
????This?function?reverses?the?byte?order?in?a?signed?short?value?with?sign?extension?to?integer.
????\param?[in]????value??Value?to?reverse
????\return???????????????Reversed?value
?*/
#if?(__ARMCC_VERSION?400677)
__ASM?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????118??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\.svn\all-wcprops
?????文件????????308??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\.svn\entries
?????文件??????????2??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\.svn\format
?????文件????????756??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\CoreSupport\.svn\all-wcprops
?????文件????????837??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\CoreSupport\.svn\entries
?????文件??????????2??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\CoreSupport\.svn\format
?????文件???????7590??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\CoreSupport\.svn\text-ba
?????文件??????37719??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\CoreSupport\.svn\text-ba
?????文件??????22142??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\CoreSupport\.svn\text-ba
?????文件??????20993??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\CoreSupport\.svn\text-ba
?????文件???????7590??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\CoreSupport\core_cm0.c
?????文件??????37719??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\CoreSupport\core_cm0.h
?????文件??????22142??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\CoreSupport\core_cmFunc.h
?????文件??????20993??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\CoreSupport\core_cmInstr.h
?????文件????????132??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\.svn\all-wcprops
?????文件????????308??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\.svn\entries
?????文件??????????2??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\.svn\format
?????文件????????136??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\ARM\.svn\all-wcprops
?????文件????????301??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\ARM\.svn\entries
?????文件??????????2??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\ARM\.svn\format
?????文件????????658??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\ARM\ARMCM0\.svn\all-wcprops
?????文件????????728??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\ARM\ARMCM0\.svn\entries
?????文件??????????2??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\ARM\ARMCM0\.svn\format
?????文件???????4697??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\ARM\ARMCM0\.svn\text-ba
?????文件???????2452??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\ARM\ARMCM0\.svn\text-ba
?????文件???????1758??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\ARM\ARMCM0\.svn\text-ba
?????文件???????4697??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\ARM\ARMCM0\ARMCM0.h
?????文件????????152??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\ARM\ARMCM0\startup\.svn\all-wcprops
?????文件????????333??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\ARM\ARMCM0\startup\.svn\entries
?????文件??????????2??2011-09-07?11:53??spiFlash_2014_1_21\CMSIS\CM0\DeviceSupport\ARM\ARMCM0\startup\.svn\format
............此處省略334個文件信息
評論
共有 條評論