資源簡介
STM32F103C8T6移植ENC28J60+UIP1.0,網上很多不是沒有效果就是各種報錯,于是本人自行開發了一個工程,經過驗證100%可用,需要的朋友按照工程中接線方式連接好硬件,下載運行即可,非常方便,希望能夠幫助更多的朋友

代碼片段和文件信息
/**
??******************************************************************************
??*?@file????system_stm32f10x.c
??*?@author??MCD?Application?Team
??*?@version?V3.5.0
??*?@date????11-March-2011
??*?@brief???CMSIS?Cortex-M3?Device?Peripheral?Access?layer?System?Source?File.
??*?
??*?1.??This?file?provides?two?functions?and?one?global?variable?to?be?called?from?
??*?????user?application:
??*??????-?SystemInit():?Setups?the?system?clock?(System?clock?source?PLL?Multiplier
??*??????????????????????factors?AHB/APBx?prescalers?and?Flash?settings).?
??*??????????????????????This?function?is?called?at?startup?just?after?reset?and?
??*??????????????????????before?branch?to?main?program.?This?call?is?made?inside
??*??????????????????????the?“startup_stm32f10x_xx.s“?file.
??*
??*??????-?SystemCoreClock?variable:?Contains?the?core?clock?(HCLK)?it?can?be?used
??*??????????????????????????????????by?the?user?application?to?setup?the?SysTick?
??*??????????????????????????????????timer?or?configure?other?parameters.
??*?????????????????????????????????????
??*??????-?SystemCoreClockUpdate():?Updates?the?variable?SystemCoreClock?and?must
??*?????????????????????????????????be?called?whenever?the?core?clock?is?changed
??*?????????????????????????????????during?program?execution.
??*
??*?2.?After?each?device?reset?the?HSI?(8?MHz)?is?used?as?system?clock?source.
??*????Then?SystemInit()?function?is?called?in?“startup_stm32f10x_xx.s“?file?to
??*????configure?the?system?clock?before?to?branch?to?main?program.
??*
??*?3.?If?the?system?clock?source?selected?by?user?fails?to?startup?the?SystemInit()
??*????function?will?do?nothing?and?HSI?still?used?as?system?clock?source.?User?can?
??*????add?some?code?to?deal?with?this?issue?inside?the?SetSysClock()?function.
??*
??*?4.?The?default?value?of?HSE?crystal?is?set?to?8?MHz?(or?25?MHz?depedning?on
??*????the?product?used)?refer?to?“HSE_VALUE“?define?in?“stm32f10x.h“?file.?
??*????When?HSE?is?used?as?system?clock?source?directly?or?through?PLL?and?you
??*????are?using?different?crystal?you?have?to?adapt?the?HSE?value?to?your?own
??*????configuration.
??*????????
??******************************************************************************
??*?@attention
??*
??*?THE?PRESENT?FIRMWARE?WHICH?IS?FOR?GUIDANCE?ONLY?AIMS?AT?PROVIDING?CUSTOMERS
??*?WITH?CODING?INFORMATION?REGARDING?THEIR?PRODUCTS?IN?ORDER?FOR?THEM?TO?SAVE
??*?TIME.?AS?A?RESULT?STMICROELECTRONICS?SHALL?NOT?BE?HELD?LIABLE?FOR?ANY
??*?DIRECT?INDIRECT?OR?CONSEQUENTIAL?DAMAGES?WITH?RESPECT?TO?ANY?CLAIMS?ARISING
??*?FROM?THE?CONTENT?OF?SUCH?FIRMWARE?AND/OR?THE?USE?MADE?BY?CUSTOMERS?OF?THE
??*?CODING?INFORMATION?CONTAINED?HEREIN?IN?CONNECTION?WITH?THEIR?PRODUCTS.
??*
??*?©?COPYRIGHT?2011?STMicroelectronics
??******************************************************************************
??*/
/**?@addtogroup?CMSIS
??*?@{
??*/
/**?@addtogroup?stm32f10x_system
??*?@{
??*
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-04-04?02:22??ENC28J60\
?????文件???????72603??2018-04-04?02:22??ENC28J60\ENC28J60.uvguix.Administrator
?????文件???????15308??2018-04-04?02:22??ENC28J60\ENC28J60.uvoptx
?????文件???????23117??2018-04-04?02:22??ENC28J60\ENC28J60.uvprojx
?????目錄???????????0??2018-04-04?03:08??ENC28J60\Listings\
?????目錄???????????0??2018-04-04?03:08??ENC28J60\ob
?????目錄???????????0??2018-04-04?02:16??ENC28J60\RTE\
?????目錄???????????0??2018-04-04?02:10??ENC28J60\RTE\Device\
?????目錄???????????0??2018-04-04?02:23??ENC28J60\RTE\Device\STM32F103C8\
?????文件???????55603??2013-09-26?01:08??ENC28J60\RTE\Device\STM32F103C8\RTE_Device.h
?????文件???????12765??2012-01-24?12:06??ENC28J60\RTE\Device\STM32F103C8\startup_stm32f10x_md.s
?????文件????????4164??2014-07-04?16:13??ENC28J60\RTE\Device\STM32F103C8\stm32f10x_conf.h
?????文件???????36557??2012-01-24?12:06??ENC28J60\RTE\Device\STM32F103C8\system_stm32f10x.c
?????文件?????????470??2018-04-04?02:16??ENC28J60\RTE\RTE_Components.h
?????目錄???????????0??2018-04-04?02:50??ENC28J60\Src\
?????文件????????1062??2018-04-04?02:39??ENC28J60\Src\delay.c
?????文件??????????79??2018-04-03?22:52??ENC28J60\Src\delay.h
?????文件????????2027??2018-04-04?02:40??ENC28J60\Src\emc28j60_uip.c
?????文件???????13042??2018-04-04?02:40??ENC28J60\Src\ENC28J60.C
?????文件???????10494??2018-04-04?02:25??ENC28J60\Src\ENC28J60.H
?????文件?????????813??2018-04-04?02:40??ENC28J60\Src\led.c
?????文件??????????41??2018-04-03?22:52??ENC28J60\Src\led.h
?????文件???????10182??2018-04-04?02:50??ENC28J60\Src\main.c
?????文件????????3058??2018-04-04?02:40??ENC28J60\Src\SPI.C
?????文件?????????162??2008-12-31?20:09??ENC28J60\Src\SPI.H
?????文件????????4767??2018-04-04?02:29??ENC28J60\Src\stm32f10x_it.c
?????文件?????????853??2010-01-18?18:54??ENC28J60\Src\systick.h
?????文件????????4538??2018-04-04?02:40??ENC28J60\Src\uart.c
?????文件?????????230??2018-04-03?22:51??ENC28J60\Src\uart.h
?????目錄???????????0??2018-04-04?02:11??ENC28J60\uip\
?????文件????????1873??2009-09-23?23:27??ENC28J60\uip\clock-arch.h
............此處省略41個文件信息
評論
共有 條評論