資源簡介
可用于壓力傳感器的hx711模塊代碼,根據(jù)不同的傳感器,要改變相應(yīng)的參數(shù)才能更加精確

代碼片段和文件信息
/**************************************************************************//**
?*?@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
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????17273??2014-07-22?16:20??3.HX711串口STM32例程\CORE\core_cm3.c
?????文件??????85714??2014-07-22?16:20??3.HX711串口STM32例程\CORE\core_cm3.h
?????文件??????15766??2014-07-22?16:20??3.HX711串口STM32例程\CORE\startup_stm32f10x_cl.s
?????文件??????15503??2014-07-22?16:20??3.HX711串口STM32例程\CORE\startup_stm32f10x_hd.s
?????文件??????15692??2014-07-22?16:20??3.HX711串口STM32例程\CORE\startup_stm32f10x_hd_vl.s
?????文件??????12376??2014-07-22?16:20??3.HX711串口STM32例程\CORE\startup_stm32f10x_ld.s
?????文件??????13656??2014-07-22?16:20??3.HX711串口STM32例程\CORE\startup_stm32f10x_ld_vl.s
?????文件??????12765??2014-07-22?16:20??3.HX711串口STM32例程\CORE\startup_stm32f10x_md.s
?????文件??????14073??2014-07-22?16:20??3.HX711串口STM32例程\CORE\startup_stm32f10x_md_vl.s
?????文件??????15955??2014-07-22?16:20??3.HX711串口STM32例程\CORE\startup_stm32f10x_xl.s
?????文件????????399??2014-07-22?16:20??3.HX711串口STM32例程\keilkilll.bat
?????文件???????2663??2014-07-22?16:20??3.HX711串口STM32例程\MyCode\HX711\HX711.c
?????文件????????372??2014-07-22?16:20??3.HX711串口STM32例程\MyCode\HX711\HX711.h
?????文件????????515??2014-07-22?16:20??3.HX711串口STM32例程\MyCode\led\LED.c
?????文件????????164??2014-07-22?16:20??3.HX711串口STM32例程\MyCode\led\LED.h
?????文件???????3578??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\core_cm3.crf
?????文件????????101??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\core_cm3.d
?????文件??????10444??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\core_cm3.o
?????文件?????245342??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\delay.crf
?????文件????????576??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\delay.d
?????文件?????263112??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\delay.o
?????文件?????245941??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\hx711.crf
?????文件????????617??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\hx711.d
?????文件?????265200??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\hx711.o
?????文件?????294956??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\main.axf
?????文件?????249563??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\main.crf
?????文件????????659??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\main.d
?????文件??????21193??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\main.hex
?????文件??????58657??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\main.htm
?????文件????????508??2014-07-22?16:20??3.HX711串口STM32例程\OBJ\main.lnp
............此處省略116個文件信息
- 上一篇:openssl密鑰生成工具
- 下一篇:IT項(xiàng)目管理工具箱
評論
共有 條評論