USART_STM32f103

所属分类:处理器开发
开发工具:C/C++
文件大小:1007KB
下载次数:96
上传日期:2010-08-27 00:01:13
上 传 者afeimonday
说明:  学习STM32f103如何与上位机如何进行串口传输数据,里面提供了整个工程文件
(Learn how STM32f103 how PC serial port to transfer data, which provides the entire project file)

文件列表:
USART简单\globals.h (457, 2009-06-29)
USART简单\include.h (340, 2009-06-29)
USART简单\main.c (8468, 2010-08-17)
USART简单\main.h (1782, 2009-08-22)
USART简单\MyStdlib.c (630, 2009-05-23)
USART简单\MyStdlib.h (146, 2009-05-15)
USART简单\myuse.h (12814, 2009-01-18)
USART简单\platform_config.h (2261, 2009-08-22)
USART简单\RAM.ini (1257, 2009-06-29)
USART简单\stm32f10x_it.c (29289, 2009-06-29)
USART简单\stm32f10x_conf.h (6311, 2008-09-23)
USART简单\stm32f10x_vector.s (12871, 2008-09-23)
USART简单\stm32f10x_it.h (3842, 2008-09-23)
USART简单\timer.c (1216, 2009-06-29)
USART简单\timer.h (181, 2009-08-22)
USART简单\usart\Com.c (14218, 2009-08-25)
USART简单\usart\COM.H (4147, 2009-06-29)
USART简单\usart\Retarget.c (2857, 2009-07-01)
USART简单\Obj\ExtDll.iex (19, 2009-09-06)
USART简单\Obj\STM32.fed (4227, 2009-06-29)
USART简单\Obj\STM32.hex (8000, 2010-08-08)
USART简单\Obj\STM32.htm (37927, 2010-08-17)
USART简单\Obj\STM32.plg (17350, 2010-08-17)
USART简单\Obj\stm32f10x_it.d (2434, 2010-08-17)
USART简单\Obj\stm32f10x_it.o (279948, 2010-08-17)
USART简单\Obj\main.d (2101, 2010-08-17)
USART简单\Obj\main.o (204572, 2010-08-17)
USART简单\Obj\STM32.axf (117428, 2010-08-17)
USART简单\Obj\timer.d (2109, 2010-08-17)
USART简单\Obj\timer.o (199836, 2010-08-17)
USART简单\Obj\mystdlib.d (2232, 2010-08-17)
USART简单\Obj\mystdlib.o (198624, 2010-08-17)
USART简单\Obj\com.d (2047, 2010-08-17)
USART简单\Obj\com.o (229684, 2010-08-17)
USART简单\Obj\retarget.d (1947, 2010-08-17)
USART简单\Obj\retarget.o (181096, 2010-08-17)
USART简单\Obj\stm32f10x_vector.o (5560, 2010-08-17)
USART简单\Obj\STM32.tra (1986, 2010-08-17)
USART简单\Obj\STM32.lnp (603, 2010-08-17)
... ...

/******************** (C) COPYRIGHT 2008 STMicroelectronics ******************** * File Name : readme.txt * Author : MCD Application Team * Version : V2.0.1 * Date : 06/13/2008 * Description : Description of the SysTick Example. ******************************************************************************** * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. *******************************************************************************/ Example description =================== This example shows how to configure the SysTick to generate a time base equal to 1 ms. The system clock is set to 72 MHz, the SysTick is clocked by the AHB clock (HCLK) divided by 8. A "Delay" function is implemented based on the SysTick end-of-count event. Four LEDs connected to the GPIO_LED Pin 6, Pin 7, Pin 8 and Pin 9 are toggled with a timing defined by the Delay function. Directory contents ================== platform_config.h Evaluation board specific configuration file stm32f10x_conf.h Library Configuration file stm32f10x_it.c Interrupt handlers stm32f10x_it.h Header for stm32f10x_it.c main.c Main program main.h Header for main.c Hardware environment ==================== This example runs on STMicroelectronics STM3210B-EVAL and STM3210E-EVAL evaluation boards and can be easily tailored to any other hardware. To select the STMicroelectronics evaluation board used to run the example, uncomment the corresponding line in platform_config.h file. + STM3210B-EVAL - Use LD1, LD2, LD3 and LD4 leds connected respectively to PC.06, PC.07, PC.08 and PC.09 pins + STM3210E-EVAL - Use LD1, LD2, LD3 and LD4 leds connected respectively to PF.06, PF0.7, PF.08 and PF.09 pins How to use it ============= In order to make the program work, you must do the following: - Create a project and setup all your toolchain's start-up files - Compile the directory content files and required Library files: + stm32f10x_lib.c + stm32f10x_gpio.c + stm32f10x_rcc.c + stm32f10x_nvic.c + stm32f10x_flash.c + stm32f10x_systick.c - Link all compiled files and load your image into target memory - Run the example ******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE******

近期下载者

相关文件


收藏者