• 大小: 488KB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2021-05-10
  • 语言: 其他
  • 标签: 串口  

资源简介

STM32F030C8T6串口例程 非常适合初学者入门学习,mdk5平台

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @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
  *--------------

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-11-28 09:38  STM32F030C8T6串口例程\
     目录           0  2017-11-28 09:38  STM32F030C8T6串口例程\Library\
     目录           0  2017-11-28 09:38  STM32F030C8T6串口例程\Library\CMSIS\
     目录           0  2017-11-28 09:38  STM32F030C8T6串口例程\Library\CMSIS\Device\
     目录           0  2017-11-28 09:38  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\
     目录           0  2017-11-28 09:38  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\
     目录           0  2017-11-28 09:38  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Include\
     文件      462509  2017-11-14 11:46  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Include\stm32f0xx.h
     文件        2223  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Include\system_stm32f0xx.h
     目录           0  2017-11-28 09:38  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\
     目录           0  2017-11-28 09:38  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\
     目录           0  2017-11-28 09:38  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\
     文件       10677  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f030.s
     文件       10953  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f030xc.s
     文件       10476  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f031.s
     文件       11304  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f042.s
     文件       11312  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f051.s
     文件       10639  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f070x6.s
     文件       11130  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f070xb.s
     文件       11772  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f072.s
     文件       11704  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f091.s
     文件       11314  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f0xx.s
     文件       10480  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\startup_stm32f0xx_ld.s
     目录           0  2017-11-28 09:38  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\iar\
     文件       10932  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\iar\startup_stm32f030.s
     文件       10695  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\iar\startup_stm32f030xc.s
     文件       10670  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\iar\startup_stm32f031.s
     文件       11501  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\iar\startup_stm32f042.s
     文件       11939  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\iar\startup_stm32f051.s
     文件       10045  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\iar\startup_stm32f070x6.s
     文件       10806  2014-12-05 00:34  STM32F030C8T6串口例程\Library\CMSIS\Device\ST\STM32F0xx\Source\Templates\iar\startup_stm32f070xb.s
............此处省略83个文件信息

评论

共有 条评论