-
大小: 21.41MB文件類型: .zip金幣: 2下載: 1 次發布日期: 2023-06-28
- 語言: 其他
- 標簽: stm32f103RC??程序例程??測試通過??
資源簡介
自己整理的stm32f103RC程序例程(測試通過):
1、時鐘配置;
2、GPIO
3、定時器與中斷
4、外部中斷
5、串口UART
6、ADC
7、PWM
8、SPI
9、IIC
10、CRC
11、LCD_LCM_1621
12、RTC時鐘
13、SD卡讀取(spi2)
14、spi_flash_25db161
15、TFT(5408)顯示測試
16、系統滴答
17、網絡 ENC28J60(SPI1)
18、芯片內部ID
19、TF(SDIO)_FAT tft
20、虛擬串口
代碼片段和文件信息
/**************************************************************************//**
?*?@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??2016-01-27?09:28??例程\
?????目錄???????????0??2016-01-27?09:05??例程\1?時鐘配置\
?????目錄???????????0??2016-01-27?09:32??例程\1?時鐘配置\APP\
?????目錄???????????0??2016-01-27?09:05??例程\1?時鐘配置\CMSIS\
?????目錄???????????0??2016-01-27?09:05??例程\1?時鐘配置\CMSIS\CM3\
?????目錄???????????0??2016-01-27?09:05??例程\1?時鐘配置\CMSIS\CM3\CoreSupport\
?????文件???????17273??2011-12-12?12:03??例程\1?時鐘配置\CMSIS\CM3\CoreSupport\core_cm3.c
?????文件???????85714??2011-12-12?12:03??例程\1?時鐘配置\CMSIS\CM3\CoreSupport\core_cm3.h
?????目錄???????????0??2016-01-27?09:05??例程\1?時鐘配置\CMSIS\CM3\DeviceSupport\
?????目錄???????????0??2016-01-27?09:05??例程\1?時鐘配置\CMSIS\CM3\DeviceSupport\ST\
?????目錄???????????0??2016-01-27?09:05??例程\1?時鐘配置\CMSIS\CM3\DeviceSupport\ST\STM32F10x\
?????文件???????26297??2011-12-12?12:03??例程\1?時鐘配置\CMSIS\CM3\DeviceSupport\ST\STM32F10x\Release_Notes.html
?????文件??????633940??2012-11-08?15:11??例程\1?時鐘配置\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h
?????文件???????36557??2011-12-12?12:03??例程\1?時鐘配置\CMSIS\CM3\DeviceSupport\ST\STM32F10x\system_stm32f10x.c
?????文件????????2085??2011-12-12?12:03??例程\1?時鐘配置\CMSIS\CM3\DeviceSupport\ST\STM32F10x\system_stm32f10x.h
?????文件????????9310??2011-12-12?12:03??例程\1?時鐘配置\CMSIS\CMSIS?debug?support.htm
?????文件???????12531??2011-12-12?12:03??例程\1?時鐘配置\CMSIS\CMSIS_changes.htm
?????目錄???????????0??2016-01-27?09:05??例程\1?時鐘配置\CMSIS\Documentation\
?????文件???????57004??2011-12-12?12:03??例程\1?時鐘配置\CMSIS\Documentation\CMSIS_Core.htm
?????文件???????39936??2011-12-12?12:03??例程\1?時鐘配置\CMSIS\License.doc
?????目錄???????????0??2016-01-27?09:32??例程\1?時鐘配置\Download\
?????目錄???????????0??2016-01-27?09:05??例程\1?時鐘配置\Libraries\
?????目錄???????????0??2016-01-27?09:05??例程\1?時鐘配置\Libraries\Startup\
?????目錄???????????0??2016-01-27?09:05??例程\1?時鐘配置\Libraries\Startup\TrueSTUDIO\
?????文件???????12604??2011-12-12?12:03??例程\1?時鐘配置\Libraries\Startup\TrueSTUDIO\startup_stm32f10x_cl.s
?????文件???????12592??2011-12-12?12:03??例程\1?時鐘配置\Libraries\Startup\TrueSTUDIO\startup_stm32f10x_hd.s
?????文件???????12239??2011-12-12?12:03??例程\1?時鐘配置\Libraries\Startup\TrueSTUDIO\startup_stm32f10x_hd_vl.s
?????文件????????9826??2011-12-12?12:03??例程\1?時鐘配置\Libraries\Startup\TrueSTUDIO\startup_stm32f10x_ld.s
?????文件???????10275??2011-12-12?12:03??例程\1?時鐘配置\Libraries\Startup\TrueSTUDIO\startup_stm32f10x_ld_vl.s
?????文件???????10275??2011-12-12?12:03??例程\1?時鐘配置\Libraries\Startup\TrueSTUDIO\startup_stm32f10x_md.s
?????文件???????10757??2011-12-12?12:03??例程\1?時鐘配置\Libraries\Startup\TrueSTUDIO\startup_stm32f10x_md_vl.s
............此處省略3028個文件信息
- 上一篇:SD-UHS-II簡化規范中文完整翻譯.pdf
- 下一篇:機器學習算法可視化工具
評論
共有 條評論