/******************** (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******
没有合适的资源?快使用搜索试试~ 我知道了~
STM32源程序大全
共654个文件
h:121个
c:93个
sct:81个
需积分: 50 80 下载量 165 浏览量
2017-10-22
09:34:43
上传
评论 8
收藏 1.65MB RAR 举报
温馨提示
STM32F 源程序 简单例子 里面有30个例子。 对初学者肯定有帮助。 注释很清晰哦~
资源推荐
资源详情
资源评论
收起资源包目录
STM32源程序大全 (654个子文件)
stm32f10x_vector._ia 315B
stm32f10x_vector._ia 315B
stm32f10x_vector._ia 315B
stm32f10x_vector._ia 258B
stm32f10x_vector._ia 258B
stm32f10x_vector._ia 258B
stm32f10x_vector._ia 258B
stm32f10x_vector._ia 258B
stm32f10x_vector._ia 258B
stm32f10x_vector._ia 258B
stm32f10x_vector._ia 258B
stm32f10x_vector._ia 258B
stm32f10x_vector._ia 258B
stm32f10x_vector._ia 258B
stm32f10x_vector._ia 258B
stm32f10x_vector._ia 229B
stm32f10x_vector._ia 229B
stm32f10x_vector._ia 229B
stm32f10x_vector._ia 229B
stm32f10x_vector._ia 229B
stm32f10x_vector._ia 229B
stm32f10x_vector._ia 229B
stm32f10x_vector._ia 229B
stm32f10x_vector._ia 174B
stm32f10x_vector._ia 174B
stm32f10x_vector._ia 174B
stm32f10x_vector._ia 174B
stm32f10x_vector._ia 174B
stm32f10x_vector._ia 174B
stm32f10x_vector._ia 174B
stm32f10x_vector._ia 174B
stm32f10x_vector._ia 174B
stm32f10x_vector._ia 174B
stm32f10x_vector._ia 174B
stm32f10x_vector._ia 174B
stm32f10x_vector._ia 174B
stm32f10x_vector._ia 174B
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 302KB
STM32_Init.c 301KB
stm32f10x_tim.c 128KB
stm32f10x_adc.c 57KB
stm32f10x_i2c.c 46KB
stm32f10x_rcc.c 43KB
stm32f10x_usart.c 42KB
stm32f10x_fsmc.c 41KB
stm32f10x_sdio.c 38KB
stm32f10x_spi.c 34KB
stm32f10x_dma.c 33KB
stm32f10x_flash.c 32KB
stm32f10x_can.c 31KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_nvic.c 28KB
stm32f10x_gpio.c 22KB
stm32f10x_dac.c 17KB
main.c 12KB
main.c 12KB
CAN.c 12KB
stm32f10x_rtc.c 12KB
Blinky.c 11KB
CAN.c 11KB
stm32f10x_pwr.c 11KB
stm32f10x_bkp.c 11KB
main.c 9KB
stm32f10x_lib.c 9KB
main.c 9KB
main.c 9KB
stm32f10x_exti.c 9KB
main.c 8KB
main.c 8KB
main.c 8KB
main.c 8KB
stm32f10x_wwdg.c 8KB
main.c 7KB
共 654 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
unsv29
- 粉丝: 1711
- 资源: 41
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功