-
大小: 4.69MB文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2023-10-28
- 語言: 其他
- 標簽:
資源簡介
利用STM32F407和OV5640 攝像頭采集圖像,并且實時顯示在TFTLCD上。
代碼片段和文件信息
/**
??******************************************************************************
??*?@file????system_stm32f4xx.c
??*?@author??MCD?Application?Team
??*?@version?V1.8.0
??*?@date????09-November-2016
??*?@brief???CMSIS?Cortex-M4?Device?Peripheral?Access?layer?System?Source?File.
??*??????????This?file?contains?the?system?clock?configuration?for?STM32F4xx?devices.
??*?????????????
??*?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
??*??????????????????????and?Divider?factors?AHB/APBx?prescalers?and?Flash?settings)
??*??????????????????????depending?on?the?configuration?made?in?the?clock?xls?tool.?
??*??????????????????????This?function?is?called?at?startup?just?after?reset?and?
??*??????????????????????before?branch?to?main?program.?This?call?is?made?inside
??*??????????????????????the?“startup_stm32f4xx.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?(16?MHz)?is?used?as?system?clock?source.
??*????Then?SystemInit()?function?is?called?in?“startup_stm32f4xx.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?25MHz?refer?to?“HSE_VALUE“?define
??*????in?“stm32f4xx.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.
??*
??*?5.?This?file?configures?the?system?clock?as?follows:
??*=============================================================================
??*=============================================================================
??*????????????????????Supported?STM32F40xxx/41xxx?devices
??*-----------------------------------------------------------------------------
??*????????System?Clock?source????????????????????|?PLL?(HSE)
??*-----------------------------------------------------------------------------
??*????????SYSCLK(Hz)?????????????????????????????|?168000000
??*-----------------------------------------------------------------------------
??*????????HCLK(Hz)?????????????????????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-05-09?18:08??OV5640攝像頭模塊\
?????目錄???????????0??2017-05-09?18:08??OV5640攝像頭模塊\1.原理圖+PCB封裝庫\
?????文件???????89672??2017-03-19?12:47??OV5640攝像頭模塊\1.原理圖+PCB封裝庫\PCB結構外框(AD+PADS版本).zip
?????文件???????31832??2017-03-19?12:47??OV5640攝像頭模塊\1.原理圖+PCB封裝庫\原理圖+PCB?封裝庫(AD+PADS版本).zip
?????文件???????36150??2017-03-19?12:47??OV5640攝像頭模塊\1.原理圖+PCB封裝庫\野火-OV5640模塊原理圖.pdf
?????目錄???????????0??2017-05-09?18:08??OV5640攝像頭模塊\2.程序\
?????目錄???????????0??2017-05-09?18:08??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\
?????目錄???????????0??2017-05-09?18:08??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Doc\
?????文件??????????34??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Doc\readme.txt
?????文件?????????401??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\keilkill.bat
?????目錄???????????0??2017-05-09?18:08??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\
?????目錄???????????0??2017-05-09?18:08??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\
?????目錄???????????0??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\
?????目錄???????????0??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\
?????目錄???????????0??2017-05-09?18:08??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\
?????目錄???????????0??2017-05-09?18:08??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Include\
?????文件??????940127??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
?????文件????????2235??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h
?????目錄???????????0??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Source\
?????目錄???????????0??2017-05-09?18:08??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\
?????目錄???????????0??2017-05-09?18:08??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\
?????文件???????25819??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f401xx.s
?????文件???????29696??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f40xx.s
?????文件???????29607??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f40_41xxx.s
?????文件???????19189??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f410xx.s
?????文件???????26519??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.s
?????文件???????21484??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f412xg.s
?????文件???????23401??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f413_423xx.s
?????文件???????31056??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f427x.s
?????文件???????30981??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f427_437xx.s
?????文件???????31136??2017-03-19?12:47??OV5640攝像頭模塊\2.程序\OV5640_采集圖像實時顯示\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429_439xx.s
............此處省略155個文件信息
評論
共有 條評論