资源简介

本资源是STM32F103单片机的一个模板工程,其中已经实现了基于滴答定时器的精确延时函数delay,实现了printf函数,通过串口输出调试信息,实现了GPIO的位段操作,让STM32的GPIO像51单片机的IO那样方便使用。除此之外,还包含了初始化GPIO、USART、TIMER等外设的例子。拿到该工程后,能快速上手使用,是一个非常实用的模板工程。

资源截图

代码片段和文件信息

/**************************************************************************//**
 * @file     core_cm3.c
 * @brief    CMSIS Cortex-M3 Core Peripheral Access layer Source File
 * @version  V1.30
 * @date     30. October 2009
 *
 * @note
 * Copyright (C) 2009 ARM Limited. All rights reserved.
 *
 * @par
 * ARM Limited (ARM) is supplying this software for use with Cortex-M 
 * processor based microcontrollers.  This file can be freely distributed 
 * within development tools that are supporting such ARM based processors. 
 *
 * @par
 * THIS SOFTWARE IS PROVIDED “AS IS“.  NO WARRANTIES WHETHER EXPRESS IMPLIED
 * OR STATUTORY INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
 * ARM SHALL NOT 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-04-18 16:38  Libraries\
     目录           0  2017-04-18 16:38  Libraries\CMSIS\
     目录           0  2017-04-18 16:38  Libraries\CMSIS\CM3\
     目录           0  2017-04-18 16:38  Libraries\CMSIS\CM3\CoreSupport\
     文件       17273  2010-10-18 20:09  Libraries\CMSIS\CM3\CoreSupport\core_cm3.c
     文件       85714  2010-10-18 20:09  Libraries\CMSIS\CM3\CoreSupport\core_cm3.h
     目录           0  2017-04-18 16:38  Libraries\CMSIS\CM3\DeviceSupport\
     目录           0  2017-04-18 16:38  Libraries\CMSIS\CM3\DeviceSupport\ST\
     目录           0  2017-04-18 16:38  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\
     目录           0  2017-04-18 16:38  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\
     目录           0  2017-04-18 16:38  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\
     文件       12486  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_cl.s
     文件       12474  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_hd.s
     文件       12192  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_hd_vl.s
     文件        9710  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_ld.s
     文件       10159  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_ld_vl.s
     文件       10159  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_md.s
     文件       10624  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_md_vl.s
     文件       13134  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_xl.s
     目录           0  2017-04-18 16:38  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\
     文件       15763  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_cl.s
     文件       15500  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s
     文件       15767  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd_vl.s
     文件       12373  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld.s
     文件       13653  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld_vl.s
     文件       12762  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md.s
     文件       14070  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md_vl.s
     文件       15952  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_xl.s
     目录           0  2017-04-18 16:38  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\
     文件       12955  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_cl.s
     文件       13042  2010-10-18 20:09  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_hd.s
............此处省略91个文件信息

评论

共有 条评论