資源簡介
STM32F091串口驅動 中斷接收 一轉五程序,最多可以做到一轉七。

代碼片段和文件信息
/**
??******************************************************************************
??*?@file????system_stm32f0xx.c
??*?@author??MCD?Application?Team
??*?@version?V1.4.0
??*?@date????05-December-2014
??*?@brief???CMSIS?Cortex-M0?Device?Peripheral?Access?layer?System?Source?File.
??*??????????This?file?contains?the?system?clock?configuration?for?STM32F0xx?devices
??*??????????and?is?generated?by?the?clock?configuration?tool??
??*??????????STM32F0xx_Clock_Configuration_V1.0.0.xls
??*
??*?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_stm32f0xx.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?Range)?is?used?as?system?clock?source.
??*????Then?SystemInit()?function?is?called?in?“startup_stm32f0xx.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?8MHz?refer?to?“HSE_VALUE“?define
??*????in?“stm32f0xx.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:
??*=============================================================================
??*?????????????????????????System?Clock?Configuration
??*=============================================================================
??*????????System?Clock?source??????????|?PLL(HSE)
??*-----------------------------------------------------------------------------
??*????????SYSCLK???????????????????????|?48000000?Hz
??*-----------------------------------------------------------------------------
??*????????HCLK?????????????????????????|?48000000?Hz
??*--------------
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????101896??2018-06-06?11:37??stm32F091多串口\ADDR.map
?????文件???????7255??2015-03-15?13:38??stm32F091多串口\ba
?????文件?????105903??2015-12-30?13:34??stm32F091多串口\ba
?????文件??????75191??2016-01-04?08:07??stm32F091多串口\ba
?????文件?????146247??2015-03-17?23:05??stm32F091多串口\ba
????.......????142632??2018-06-06?11:37??stm32F091多串口\ba
?????文件??????77801??2016-07-29?18:57??stm32F091多串口\ba
????.......????142689??2018-06-06?11:36??stm32F091多串口\ba
?????文件??????75191??2016-01-03?17:22??stm32F091多串口\ba
?????文件?????146075??2015-03-17?22:37??stm32F091多串口\ba
?????文件???????7722??2016-01-03?17:02??stm32F091多串口\ba
?????文件??????19306??2018-05-02?11:39??stm32F091多串口\ba
?????文件??????16190??2016-01-03?17:02??stm32F091多串口\ba
?????文件??????21428??2018-04-26?17:44??stm32F091多串口\ba
?????文件??????70075??2018-06-06?11:37??stm32F091多串口\ba
?????文件???????7722??2016-01-03?17:02??stm32F091多串口\ba
?????文件??????18390??2018-04-27?17:24??stm32F091多串口\ba
?????文件??????16185??2016-01-03?16:07??stm32F091多串口\ba
?????文件??????21417??2018-04-26?16:33??stm32F091多串口\ba
?????文件??????63122??2018-05-10?10:05??stm32F091多串口\Jli
?????文件????????650??2018-04-26?16:54??stm32F091多串口\Jli
?????文件??????24914??2014-12-02?18:37??stm32F091多串口\Libraries\CMSIS\CMSIS?END?USER?LICENCE?AGREEMENT.pdf
?????文件?????462599??2016-09-21?08:13??stm32F091多串口\Libraries\CMSIS\Device\ST\STM32F0xx\Include\stm32f0xx.h
?????文件?????462603??2016-01-10?11:15??stm32F091多串口\Libraries\CMSIS\Device\ST\STM32F0xx\Include\stm32f0xx.h~RF32bb6d.TMP
?????文件???????2223??2014-12-05?00:34??stm32F091多串口\Libraries\CMSIS\Device\ST\STM32F0xx\Include\system_stm32f0xx.h
?????文件??????45805??2014-12-05?00:34??stm32F091多串口\Libraries\CMSIS\Device\ST\STM32F0xx\Release_Notes.html
?????文件??????10677??2014-12-05?00:34??stm32F091多串口\Libraries\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f030.s
?????文件???????9869??2013-10-11?21:58??stm32F091多串口\Libraries\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f030x6.s
?????文件??????10705??2013-10-11?21:58??stm32F091多串口\Libraries\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f030x8.s
?????文件??????10953??2014-12-05?00:34??stm32F091多串口\Libraries\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f030xc.s
............此處省略890個文件信息
評論
共有 條評論