資源簡介
使用DCMI驅動OV5640攝像頭,拍攝的圖像通過DMA傳輸直接顯示在液晶屏上,比對QR-Code庫解二維碼,結果數據通過串口發送數據到上位機。

代碼片段和文件信息
/**
??******************************************************************************
??*?@file????system_stm32f4xx.c
??*?@author??MCD?Application?Team
??*?@version?V1.5.0
??*?@date????06-March-2015
??*?@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)???????????????????????????????|?168000000
??*--------------------------
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????35??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Doc\readme.txt
?????文件????????401??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\keilkill.bat
?????文件?????757993??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
?????文件???????2127??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h
?????文件??????30678??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429_439xx.s
?????文件????????132??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\說明.txt
?????文件??????52052??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
?????文件????????138??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\說明.txt
?????文件???????7115??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Include\arm_common_tables.h
?????文件???????3861??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Include\arm_const_structs.h
?????文件?????243652??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Include\arm_math.h
?????文件??????33340??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Include\core_cm0.h
?????文件??????40616??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Include\core_cm0plus.h
?????文件??????98825??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Include\core_cm3.h
?????文件?????108149??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Include\core_cm4.h
?????文件?????128130??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Include\core_cm7.h
?????文件??????16790??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Include\core_cmFunc.h
?????文件??????25974??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Include\core_cmInstr.h
?????文件??????22251??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Include\core_cmSimd.h
?????文件??????41914??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Include\core_sc000.h
?????文件??????97597??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\Include\core_sc300.h
?????文件????????137??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\CMSIS\說明.txt
?????文件????1162390??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\QR_Decoder\QR-Core.lib
?????文件???????6743??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\STM32F4xx_StdPeriph_Driver\inc\misc.h
?????文件??????32221??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_adc.h
?????文件??????26671??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_can.h
?????文件??????12142??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_cec.h
?????文件???????2330??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_crc.h
?????文件??????14094??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_cryp.h
?????文件??????14639??2016-06-29?15:49??識別二維碼\1.程序\QR_Decoder_OV5640\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_dac.h
............此處省略147個文件信息
- 上一篇:skinsharp破解版+76種界面+使用方法+
- 下一篇:壓縮感知基礎
評論
共有 條評論