-
大小: 3.2MB文件類型: .zip金幣: 2下載: 0 次發(fā)布日期: 2023-10-04
- 語(yǔ)言: 其他
- 標(biāo)簽: stm32f103??項(xiàng)目源碼??
資源簡(jiǎn)介
基于STM32F103的靜態(tài)扭矩傳感器源碼,完整項(xiàng)目源碼,適合新手學(xué)習(xí),以及項(xiàng)目參考,非常不錯(cuò)的資料

代碼片段和文件信息
/**************************************************************************//**
?*?@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
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-09-20?17:31??STM32靜態(tài)扭矩180325-5\
?????目錄???????????0??2018-08-17?13:35??STM32靜態(tài)扭矩180325-5\CM3\
?????文件???????17273??2010-04-23?10:40??STM32靜態(tài)扭矩180325-5\CM3\core_cm3.c
?????文件???????85714??2010-04-23?10:40??STM32靜態(tài)扭矩180325-5\CM3\core_cm3.h
?????文件??????621160??2011-01-26?09:27??STM32靜態(tài)扭矩180325-5\CM3\stm32f10x.h
?????文件???????31997??2017-04-23?22:08??STM32靜態(tài)扭矩180325-5\CM3\system_stm32f10x.c
?????文件????????2068??2010-04-23?10:40??STM32靜態(tài)扭矩180325-5\CM3\system_stm32f10x.h
?????目錄???????????0??2018-08-17?13:35??STM32靜態(tài)扭矩180325-5\DebugConfig\
?????文件????????6956??2015-12-10?17:06??STM32靜態(tài)扭矩180325-5\DebugConfig\Target_1_STM32F103C8.dbgconf
?????文件????????6956??2015-12-10?17:06??STM32靜態(tài)扭矩180325-5\DebugConfig\Target_1_STM32F103C8_1.0.0.dbgconf
?????文件????????6956??2015-12-10?17:06??STM32靜態(tài)扭矩180325-5\DebugConfig\Target_1_STM32F103R8_1.0.0.dbgconf
?????文件????????6956??2015-12-10?17:06??STM32靜態(tài)扭矩180325-5\DebugConfig\Target_1_STM32F103RB_1.0.0.dbgconf
?????文件?????????339??2018-08-17?13:22??STM32靜態(tài)扭矩180325-5\EventRecorderStub.scvd
?????目錄???????????0??2018-08-17?13:35??STM32靜態(tài)扭矩180325-5\FWlib\
?????目錄???????????0??2018-08-17?13:35??STM32靜態(tài)扭矩180325-5\FWlib\SRC\
?????文件????????6931??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\misc.c
?????文件???????47016??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_adc.c
?????文件????????8497??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_bkp.c
?????文件???????31832??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_can.c
?????文件???????11567??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_cec.c
?????文件????????3338??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_crc.c
?????文件???????19150??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_dac.c
?????文件????????5060??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_dbgmcu.c
?????文件???????28116??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_dma.c
?????文件????????6852??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_exti.c
?????文件???????63877??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_flash.c
?????文件???????35071??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_fsmc.c
?????文件???????19759??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_gpio.c
?????文件???????43708??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_i2c.c
?????文件????????4827??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_iwdg.c
?????文件????????9162??2010-04-23?10:39??STM32靜態(tài)扭矩180325-5\FWlib\SRC\stm32f10x_pwr.c
............此處省略155個(gè)文件信息
評(píng)論
共有 條評(píng)論