資源簡介
本代碼是基于stm32數(shù)字光強計GY-30光強采集并使用oled實時顯示
代碼片段和文件信息
/**************************************************************************//**
?*?@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
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-05-30?13:33??oled+GY30\
?????目錄???????????0??2018-05-29?19:44??oled+GY30\OBJ\
?????文件??????278332??2018-05-29?19:43??oled+GY30\OBJ\main.o
?????文件???????????0??2014-05-03?16:07??oled+GY30\OBJ\led.d
?????文件?????????781??2018-05-29?19:43??oled+GY30\OBJ\stm32f10x_usart.d
?????文件??????249609??2018-05-29?19:43??oled+GY30\OBJ\stm32f10x_gpio.crf
?????文件????????3942??2018-05-29?19:43??oled+GY30\OBJ\core_cm3.crf
?????文件??????270368??2018-05-29?19:43??oled+GY30\OBJ\stm32f10x_gpio.o
?????文件???????75952??2018-05-29?19:43??oled+GY30\OBJ\OLED.htm
?????文件??????251731??2018-05-29?19:43??oled+GY30\OBJ\usart.crf
?????文件?????????785??2018-05-29?19:43??oled+GY30\OBJ\oled.d
?????文件?????????583??2018-05-29?19:43??oled+GY30\OBJ\sys.d
?????文件??????247880??2014-05-03?16:05??oled+GY30\OBJ\led.crf
?????文件?????????479??2015-12-03?13:57??oled+GY30\OBJ\OLED_sct.Bak
?????文件??????270000??2018-05-29?19:43??oled+GY30\OBJ\usart.o
?????文件???????11356??2018-05-29?19:43??oled+GY30\OBJ\core_cm3.o
?????文件???????30786??2018-05-29?19:43??oled+GY30\OBJ\OLED.hex
?????文件??????268388??2018-05-29?19:43??oled+GY30\OBJ\gy30.o
?????文件??????264016??2018-05-29?19:43??oled+GY30\OBJ\misc.o
?????文件???????18174??2018-05-29?19:43??oled+GY30\OBJ\OLED_Target?1.dep
?????文件??????267236??2014-05-03?16:05??oled+GY30\OBJ\key.o
?????文件??????????63??2018-05-29?19:43??oled+GY30\OBJ\startup_stm32f10x_hd.d
?????文件??????251722??2018-05-29?19:43??oled+GY30\OBJ\stm32f10x_usart.crf
?????文件??????264372??2018-05-29?19:43??oled+GY30\OBJ\stm32f10x_it.o
?????文件?????????479??2015-12-03?14:26??oled+GY30\OBJ\OLED.sct
?????文件??????314120??2018-05-29?19:43??oled+GY30\OBJ\OLED.axf
?????文件??????246116??2018-05-29?19:43??oled+GY30\OBJ\misc.crf
?????文件?????????654??2018-05-29?19:43??oled+GY30\OBJ\delay.d
?????文件??????248078??2018-05-29?19:43??oled+GY30\OBJ\gy30.crf
?????文件?????????695??2018-05-29?19:43??oled+GY30\OBJ\myiic.d
?????文件?????????679??2018-05-29?19:43??oled+GY30\OBJ\system_stm32f10x.d
............此處省略141個文件信息
評論
共有 條評論